Remove last worker patch. The problem was that the supervisor need a reread/update to active the new changes
This commit is contained in:
parent
8ecc2d8d9d
commit
02261744be
2
series
2
series
|
@ -43,5 +43,3 @@ issue8860.diff # [stock_forecast] stock_forecast does not spread all the quantit
|
|||
|
||||
statement_of_account.diff # [account] Cumulate balance of previous fiscal years
|
||||
issue9017.diff # [purchase] Doesn't copy product_suppliers when a template or a product is duplicated
|
||||
|
||||
worker.diff # [trytond] Add default vaules for the number of worker process to solve supervisor problme with the interger variables
|
||||
|
|
13
worker.diff
13
worker.diff
|
@ -1,13 +0,0 @@
|
|||
diff --git a/trytond/commandline.py b/trytond/commandline.py
|
||||
index 341326ef..c166747d 100644
|
||||
--- a/trytond/trytond/commandline.py
|
||||
+++ b/trytond/trytond/commandline.py
|
||||
@@ -51,7 +51,7 @@ def get_parser_worker():
|
||||
parser = get_parser_daemon()
|
||||
parser.add_argument("--name", dest='name',
|
||||
help="work only on the named queue")
|
||||
- parser.add_argument("-n", dest='processes', type=int,
|
||||
+ parser.add_argument("-n", dest='processes', default=1, type=int,
|
||||
help="number of processes to use")
|
||||
parser.add_argument("--max", dest='maxtasksperchild', type=int,
|
||||
help="number of tasks a worker process before being replaced")
|
Loading…
Reference in New Issue