diff options
| author | Christophe Simonis <chs@odoo.com> | 2018-10-01 11:27:51 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2018-10-01 11:27:51 +0200 |
| commit | 998723b9092d346537283e9c1a708b2c1052245c (patch) | |
| tree | 3beefec9602fe309a8f4269a74fa062343dfe29d /odoo/tools/config.py | |
| parent | 0105e02fa768f21ce6706f6c7acdfe94cbb7eff3 (diff) | |
| parent | e980af9df00ec25cbfbb07a37bc4dfe2088ed566 (diff) | |
[MERGE] forward port branch saas-11.3 up to e980af9df00
Diffstat (limited to 'odoo/tools/config.py')
| -rw-r--r-- | odoo/tools/config.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/odoo/tools/config.py b/odoo/tools/config.py index 7fa33f400fd..343aa6cf5a9 100644 --- a/odoo/tools/config.py +++ b/odoo/tools/config.py @@ -286,10 +286,12 @@ 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 reset after the current request (default 671088640 aka 640MB).", + help="Maximum allowed virtual memory per worker, 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 allocation will fail (default 805306368 aka 768MB).", + help="Maximum allowed virtual memory per worker, when reached, any memory " + "allocation will fail (default 2560MiB).", type="int") group.add_option("--limit-time-cpu", dest="limit_time_cpu", my_default=60, help="Maximum allowed CPU time per request (default 60).", |
