Commit f8502ddc authored by Łukasz Nowak's avatar Łukasz Nowak

Drop priority ordering.

Let the activity system chose randomly what to do.
parent 9d614ec3
...@@ -62,7 +62,7 @@ kw.update(\n ...@@ -62,7 +62,7 @@ kw.update(\n
context.getPortalObject().portal_catalog.searchAndActivate(\n context.getPortalObject().portal_catalog.searchAndActivate(\n
method_id=\'SimulationMovement_buildVifib\',\n method_id=\'SimulationMovement_buildVifib\',\n
method_kw={\'tag\': tag},\n method_kw={\'tag\': tag},\n
activate_kw={\'tag\': tag, \'priority\': 4},\n activate_kw={\'tag\': tag},\n
**kw\n **kw\n
)\n )\n
\n \n
......
...@@ -68,7 +68,7 @@ context.newActiveProcess()\n ...@@ -68,7 +68,7 @@ context.newActiveProcess()\n
context.getPortalObject().portal_catalog.searchAndActivate(\n context.getPortalObject().portal_catalog.searchAndActivate(\n
method_id=\'Person_storeOpenOrderJournal\',\n method_id=\'Person_storeOpenOrderJournal\',\n
method_kw={\'modification_date\': kw.get(\'modification_date\'), \'tag\': tag, \'stop_date\': params.get(\'stop_date\')},\n method_kw={\'modification_date\': kw.get(\'modification_date\'), \'tag\': tag, \'stop_date\': params.get(\'stop_date\')},\n
activate_kw={\'tag\': tag, \'priority\': 10},\n activate_kw={\'tag\': tag},\n
packet_size=1, # Person_storeOpenOrderJournal generates big transactions\n packet_size=1, # Person_storeOpenOrderJournal generates big transactions\n
portal_type=\'Person\'\n portal_type=\'Person\'\n
)\n )\n
......
663 664
\ 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 to comment