summaryrefslogtreecommitdiff
path: root/odoo
diff options
context:
space:
mode:
authorRichard Mathot <rim@odoo.com>2019-11-06 07:33:21 +0000
committerRichard Mathot <rim@odoo.com>2019-11-07 09:28:41 +0000
commit71c1104e5fb9d208bece9241eb4a673b19d0afbe (patch)
treeaf2cae5fb5c4fd70bd469ab94f9c9a709b5295cf /odoo
parentf9eeb3b44e2c89e14c035fafe147133d6a3eb040 (diff)
[IMP] config: clarify help about memory limits
When you deploy Odoo for the first time, it is not explicit that you must enter a value in bytes for these specific parameters. closes odoo/odoo#39831 Signed-off-by: Richard Mathot (rim) <rim@openerp.com>
Diffstat (limited to 'odoo')
-rw-r--r--odoo/tools/config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/odoo/tools/config.py b/odoo/tools/config.py
index e691cdb4d08..194da756ef8 100644
--- a/odoo/tools/config.py
+++ b/odoo/tools/config.py
@@ -303,11 +303,11 @@ class configmanager(object):
help="Specify the number of workers, 0 disable prefork mode.",
type="int")
group.add_option("--limit-memory-soft", dest="limit_memory_soft", my_default=2048 * 1024 * 1024,
- help="Maximum allowed virtual memory per worker, when reached the worker be "
+ help="Maximum allowed virtual memory per worker (in bytes), when reached the worker be "
"reset after the current request (default 2048MiB).",
type="int")
group.add_option("--limit-memory-hard", dest="limit_memory_hard", my_default=2560 * 1024 * 1024,
- help="Maximum allowed virtual memory per worker, when reached, any memory "
+ help="Maximum allowed virtual memory per worker (in bytes), when reached, any memory "
"allocation will fail (default 2560MiB).",
type="int")
group.add_option("--limit-time-cpu", dest="limit_time_cpu", my_default=60,