don't generate messages on postCommit events
This commit is contained in:
parent
b9d6948d81
commit
8beb91f58d
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue