don't generate messages on postCommit events

This commit is contained in:
Mike McLean 2016-09-14 15:08:52 -04:00
parent b9d6948d81
commit 8beb91f58d

View file

@ -198,7 +198,8 @@ def get_message_headers(msgtype, *args, **kws):
return headers
@callback(*[c for c in callbacks.keys() if c.startswith('post')])
@callback(*[c for c in callbacks.keys() if c.startswith('post')
and c != 'postCommit'])
@ignore_error
def send_message(cbtype, *args, **kws):
global config