odoo/openerp/service
Jairo Llopis ecc093033d
[FIX] service.server: bump up socket timeout to 2s
Rev. 8245c1d1d8 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:
 - 8245c1d1d8 (commitcomment-22904347)
 - PR #12356
 - Issue #2114

Closes #17998
2017-07-04 12:57:05 +02:00
..
__init__.py rename server 2013-10-06 00:18:29 +02:00
common.py [ADD] Stripe-style APIDoc: content 2014-10-27 17:23:16 +01:00
db.py [FIX] db manager: do not use registry to backup a database 2015-04-02 10:10:04 +02:00
model.py [FIX] web: current transaction is aborted 2015-10-13 17:12:34 +02:00
report.py [FIX] setup Environment for the report thread 2014-07-14 12:41:07 +01:00
security.py [MERGE] Forward-port saas-3 up to rev. 10e6ad1355 2015-09-07 11:18:10 +02:00
server.py [FIX] service.server: bump up socket timeout to 2s 2017-07-04 12:57:05 +02:00
websrv_lib.py [FORWARD] Forward port of server 7.0 until revision 4988 2013-05-28 12:27:33 +02:00
wsgi_server.py [MERGE] new v8 api by rco 2014-07-06 17:05:41 +02:00