summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorJairo Llopis <yajo.sk8@gmail.com>2017-07-04 11:18:48 +0200
committerOlivier Dony <odo@openerp.com>2017-07-04 12:57:05 +0200
commitecc093033da62a6fd005081274d01090591579cd (patch)
treeaacd51803e26333f5ccc84e1182c5c9cc1bc1ad1 /addons/web/static/src/js/views/basic/basic_controller.js
parenta38544f63f25363bdd2ebcf56b3601aa9ca6a8b7 (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/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions