Commit fdd56f67 authored by Sebastien Robin's avatar Sebastien Robin

we need to use SQLQueue if we send many messages

git-svn-id: https://svn.erp5.org/repos/experimental@1958 bc57dcba-3610-0410-ab4f-dc20bb96b918
parent 011c69f4
......@@ -64,7 +64,7 @@ class SMSTool(BaseTool):
test=False, **kw)
if getattr(self, 'SMSTool_afterSend'):
# We need to use activities in order to avoid any conflict
send_activate_kw = {}
send_activate_kw = {'activity':'SQLQueue'}
if activate_kw is not None:
send_activate_kw.update(**activate_kw)
self.activate(**send_activate_kw).SMSTool_afterSend(
......
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