Commit 314fd21e authored by Romain Courteaud's avatar Romain Courteaud

Calculate one instance usage per transaction.

This prevent increasing the memory usage due to huge workflow history.
parent 3c346da5
......@@ -56,7 +56,9 @@ portal.portal_catalog.searchAndActivate(\n
portal_type=["Slave Instance", "Software Instance"],\n
causality_state="diverged",\n
method_id=\'Instance_solveInvoicingGeneration\',\n
activate_kw={\'tag\': tag}\n
activate_kw={\'tag\': tag},\n
packet_size=1, # Separate calls to many transactions (calculation can take time)\n
activity_count=1,\n
)\n
\n
context.activate(after_tag=tag).getId()\n
......
256
\ No newline at end of file
257
\ 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