odoo/openerp/service
Olivier Dony 8245c1d1d8
[FIX] service.server: drop idle connection attempts
Avoid wasting HTTP workers (in prefork server mode)
for pending/idle connections.
HTTP connections that have not sent anything for 500ms
will be dropped.

In particular, wkhtmltopdf uses a connection pool
to load remote resources. It opens more HTTP connections
than necessary and uses a random subset of them, leaving
the other idle.

On a server that has little available workers this
may significantly delay report rendering, and could
even lead to a deadlock.

OPW-667870
2016-07-25 13:06:31 +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: drop idle connection attempts 2016-07-25 13:06:31 +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