Skip to content

[16.0][IMP] webservice: do not override timeout - #193

Merged
OCA-git-bot merged 1 commit into
OCA:16.0from
ForgeFlow:16.0-imp-webservice-timeout
Oct 29, 2026
Merged

OCA-git-bot merged 1 commit into
OCA:16.0from
ForgeFlow:16.0-imp-webservice-timeout

Conversation

@JordiMForgeFlow

Copy link
Copy Markdown
Contributor

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.

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.
@OCA-git-bot

Copy link
Copy Markdown
Contributor

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

@simahawk

Copy link
Copy Markdown
Contributor

FTR timeout is now configurable by endpoint #175

@simahawk

Copy link
Copy Markdown
Contributor

Another nice improvement on top the refactoring #188

@simahawk

Copy link
Copy Markdown
Contributor

/ocabot merge patch

@OCA-git-bot

Copy link
Copy Markdown
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 16.0-ocabot-merge-pr-193-by-simahawk-bump-patch, awaiting test results.

@OCA-git-bot
OCA-git-bot merged commit f095fb6 into OCA:16.0 Oct 29, 2026
7 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at 1bc8d20. Thanks a lot for contributing to OCA. ❤️

@MiquelRForgeFlow
MiquelRForgeFlow deleted the 16.0-imp-webservice-timeout branch October 29, 2026 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants