Skip to content

[17.0][FW][IMP] webservice: do not override timeout - #195

Open
JordiMForgeFlow wants to merge 1 commit into
OCA:17.0from
ForgeFlow:17.0-fw-imp-webservice-timeout
Open

JordiMForgeFlow wants to merge 1 commit into
OCA:17.0from
ForgeFlow:17.0-fw-imp-webservice-timeout

Conversation

@JordiMForgeFlow

Copy link
Copy Markdown
Contributor

FW of #193

@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hi @etobella,
some modules you are maintaining are being modified, check this out!

@MiquelRForgeFlow

Copy link
Copy Markdown

@simahawk

The requests adapters set the timeout to None on every call, discarding the
one given by the caller. A call to a peer that accepts the connection but
never answers then holds the worker until the peer closes the socket, which
in a cron can block every other scheduled action for as long as the worker
time limit allows.

The timeout now travels in kwargs like any other requests parameter. Callers
that pass none keep the previous behaviour, as requests defaults to no
timeout.
@JordiMForgeFlow
JordiMForgeFlow force-pushed the 17.0-fw-imp-webservice-timeout branch from 0ed55d5 to 7202e43 Compare October 29, 2026 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants