diff options
| author | Jairo Llopis <yajo.sk8@gmail.com> | 2017-07-04 11:18:48 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2017-07-04 12:57:05 +0200 |
| commit | ecc093033da62a6fd005081274d01090591579cd (patch) | |
| tree | aacd51803e26333f5ccc84e1182c5c9cc1bc1ad1 /addons/web_editor/static/src/less/web_editor.ui.less | |
| parent | a38544f63f25363bdd2ebcf56b3601aa9ca6a8b7 (diff) | |
[FIX] service.server: bump up socket timeout to 2s
Rev. 8245c1d1d87b443701b161d8d4a42df2b4d13aec introduced a timeout to
avoid lockup situations with wkhtmltopdf's requests on servers with low
numbers of free HTTP workers.
The initial timeout of 500ms was chosen based on average network
latency, but turned out to cause spurious disconnections on congested
networks combined with slow links.
Bumping up the timeout to 2s seems to be a better sweet spot, causing
less spurious disconnections while still recovering reasonably fast from
the wkhtmltopdf lockup situation.
See also these discussions:
- https://github.com/odoo/odoo/commit/8245c1d1d87b443701b161d8d4a42df2b4d13aec#commitcomment-22904347
- PR #12356
- Issue #2114
Closes #17998
Diffstat (limited to 'addons/web_editor/static/src/less/web_editor.ui.less')
0 files changed, 0 insertions, 0 deletions
