Skip to content

[18.0][FW][IMP] webservice: do not override timeout - #196

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

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

Conversation

@JordiMForgeFlow

Copy link
Copy Markdown
Contributor

FW of #193

@OCA-git-bot

Copy link
Copy Markdown
Contributor

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

@OCA-git-bot OCA-git-bot added mod:webservice Module webservice series:18.0 mod:webservice_core Module webservice_core labels Oct 29, 2026
@JordiMForgeFlow
JordiMForgeFlow force-pushed the 18.0-fw-imp-webservice-timeout branch from 72fa366 to fa89ea4 Compare October 29, 2026 14:44
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 18.0-fw-imp-webservice-timeout branch from fa89ea4 to 64198c1 Compare October 30, 2026 07:22
@OCA-git-bot OCA-git-bot removed the mod:webservice_core Module webservice_core label Oct 30, 2026
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