[FIX] removed spurious print statement.
bzr revid: vmt@openerp.com-20120309093508-23r979ow6035k6ro
This commit is contained in:
+3
-2
@@ -21,7 +21,7 @@ pidfile = '.gunicorn.pid'
|
||||
# Gunicorn recommends 2-4 x number_of_cpu_cores, but
|
||||
# you'll want to vary this a bit to find the best for your
|
||||
# particular work load.
|
||||
workers = 4
|
||||
workers = 10
|
||||
|
||||
# Some application-wide initialization is needed.
|
||||
on_starting = openerp.wsgi.core.on_starting
|
||||
@@ -32,7 +32,7 @@ post_request = openerp.wsgi.core.post_request
|
||||
# big reports for example
|
||||
timeout = 240
|
||||
|
||||
max_requests = 2000
|
||||
#max_requests = 2000
|
||||
|
||||
# Equivalent of --load command-line option
|
||||
openerp.conf.server_wide_modules = ['web']
|
||||
@@ -43,6 +43,7 @@ conf = openerp.tools.config
|
||||
# Path to the OpenERP Addons repository (comma-separated for
|
||||
# multiple locations)
|
||||
conf['addons_path'] = '/home/openerp/addons/trunk,/home/openerp/web/trunk/addons'
|
||||
conf['addons_path'] = '/home/thu/repos/addons/trunk,/home/thu/repos/web/6.1-blocking-create-db/addons'
|
||||
|
||||
# Optional database config if not using local socket
|
||||
#conf['db_name'] = 'mycompany'
|
||||
|
||||
@@ -269,7 +269,6 @@ class RegistryManager(object):
|
||||
base_cache_signaling.last_value
|
||||
FROM base_registry_signaling, base_cache_signaling""")
|
||||
r, c = cr.fetchone()
|
||||
print ">>>", r, c
|
||||
# Check if the model registry must be reloaded (e.g. after the
|
||||
# database has been updated by another process).
|
||||
if registry.base_registry_signaling_sequence != r:
|
||||
|
||||
Reference in New Issue
Block a user