Commit f1403f12 by Julien Muchembled

Global builders should not select too many movements at a single time

This updates several alarms after commit 9c94ae13
("Remove default limit on builders' ZSQL select methods").

If there are more simulation movements, the rest is processed next building time.
parent 9c94ae13
...@@ -78,6 +78,7 @@ for builder_id in builder_id_list:\n ...@@ -78,6 +78,7 @@ for builder_id in builder_id_list:\n
\'_updateSimulation\')\n \'_updateSimulation\')\n
activate_kw = dict(tag=index_tag)\n activate_kw = dict(tag=index_tag)\n
builder.activate(\n builder.activate(\n
limit=100,\n
serialization_tag=serialization_tag,\n serialization_tag=serialization_tag,\n
after_tag=after_tag,\n after_tag=after_tag,\n
after_method_id=after_method_id).build(activate_kw=activate_kw)\n after_method_id=after_method_id).build(activate_kw=activate_kw)\n
......
107 108
\ No newline at end of file \ No newline at end of file
...@@ -85,6 +85,7 @@ for builder_id in builder_id_list:\n ...@@ -85,6 +85,7 @@ for builder_id in builder_id_list:\n
\'_updateSimulation\')\n \'_updateSimulation\')\n
activate_kw = dict(tag=index_tag)\n activate_kw = dict(tag=index_tag)\n
builder.activate(\n builder.activate(\n
limit=100,\n
serialization_tag=serialization_tag,\n serialization_tag=serialization_tag,\n
after_tag=after_tag,\n after_tag=after_tag,\n
after_method_id=after_method_id).build(activate_kw=activate_kw)\n after_method_id=after_method_id).build(activate_kw=activate_kw)\n
......
...@@ -82,6 +82,7 @@ for builder_id in builder_id_list:\n ...@@ -82,6 +82,7 @@ for builder_id in builder_id_list:\n
\'_updateSimulation\')\n \'_updateSimulation\')\n
activate_kw = dict(tag=index_tag)\n activate_kw = dict(tag=index_tag)\n
builder.activate(\n builder.activate(\n
limit=100,\n
serialization_tag=serialization_tag,\n serialization_tag=serialization_tag,\n
after_tag=after_tag,\n after_tag=after_tag,\n
after_method_id=after_method_id).build(activate_kw=activate_kw)\n after_method_id=after_method_id).build(activate_kw=activate_kw)\n
......
661 662
\ No newline at end of file \ No newline at end of file
...@@ -78,6 +78,7 @@ for builder_id in builder_id_list:\n ...@@ -78,6 +78,7 @@ for builder_id in builder_id_list:\n
\'_updateSimulation\')\n \'_updateSimulation\')\n
activate_kw = dict(tag=index_tag)\n activate_kw = dict(tag=index_tag)\n
builder.activate(\n builder.activate(\n
limit=100,\n
tag=\'invoice_builder_alarm\',\n tag=\'invoice_builder_alarm\',\n
serialization_tag=serialization_tag,\n serialization_tag=serialization_tag,\n
after_tag=after_tag,\n after_tag=after_tag,\n
......
...@@ -77,6 +77,7 @@ for builder_id in builder_id_list:\n ...@@ -77,6 +77,7 @@ for builder_id in builder_id_list:\n
\'_updateSimulation\')\n \'_updateSimulation\')\n
activate_kw = dict(tag=index_tag)\n activate_kw = dict(tag=index_tag)\n
builder.activate(\n builder.activate(\n
limit=100,\n
tag=\'packing_list_builder_alarm\',\n tag=\'packing_list_builder_alarm\',\n
serialization_tag=serialization_tag,\n serialization_tag=serialization_tag,\n
after_tag=after_tag,\n after_tag=after_tag,\n
......
37 38
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment