Commit 51c065f4 authored by Nicolas Wavrant's avatar Nicolas Wavrant

erp5_interface_post: do not pass potentially huge data as acitvity parameters

As we may reach database limits, and to avoid them to be logged.
parent 8f270323
...@@ -5,4 +5,4 @@ context.activate( ...@@ -5,4 +5,4 @@ context.activate(
activity='SQLQueue', activity='SQLQueue',
conflict_retry=False, conflict_retry=False,
max_retry=0, max_retry=0,
).ERP5Site_sendMailHostMessage(context.getData()) ).InternetMessagePost_sendMailHostMessage()
...@@ -6,4 +6,4 @@ ...@@ -6,4 +6,4 @@
# conflict_retry=False, # conflict_retry=False,
# max_retry=0, # max_retry=0,
context.getPortalObject().MailHost.send(data) context.getPortalObject().MailHost.send(context.getData())
...@@ -50,11 +50,11 @@ ...@@ -50,11 +50,11 @@
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>data</string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>ERP5Site_sendMailHostMessage</string> </value> <value> <string>InternetMessagePost_sendMailHostMessage</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
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