Skip to content
Snippets Groups Projects
Commit d200023a authored by Brian Moe's avatar Brian Moe
Browse files

Changed settings and alert.py to no longer check the lvalert node against a...

Changed settings and alert.py to no longer check the lvalert node against a whitelist of pubsub nodes.
parent 2ee2405a
No related branches found
No related tags found
No related merge requests found
......@@ -122,9 +122,9 @@ def issueXMPPAlert(event, location, temp_data_loc, alert_type="new", description
log.debug('issueXMPPAlert: %s %s' % (event.graceid(), nodename))
if nodename not in settings.XMPP_ALERT_CHANNELS:
log.debug("issueXMPPAlert: did not send alert")
return
# if nodename not in settings.XMPP_ALERT_CHANNELS:
# log.debug("issueXMPPAlert: did not send alert")
# return
log.debug("issueXMPPAlert: attempting to send alert")
env = {}
......
......@@ -30,20 +30,23 @@ EMBB_SMTP_SERVER = 'localhost'
EMBB_MAIL_ADMINS = ['branson@gravity.phys.uwm.edu','roy.williams@ligo.org',]
MBB_IGNORE_ADDRESSES = ['Mailer-Daemon@gracedb.phys.uwm.edu',]
XMPP_ALERT_CHANNELS = [
'burst_omega',
'test_omega',
'cbc_mbtaonline',
'test_mbtaonline',
'burst_cwb',
'test_cwb',
'cbc_lowmass',
'test_lowmass',
'cbc_highmass',
'test_highmass',
'test_grb',
'external_grb',
]
# 11/18/14. No longer checking XMPP_ALERT_CHANNELS. This is not necessary.
# If someone sends out an event, an alert should go out. Listerers have the
# option to unsubscribe from nodes if so desired.
#XMPP_ALERT_CHANNELS = [
# 'burst_omega',
# 'test_omega',
# 'cbc_mbtaonline',
# 'test_mbtaonline',
# 'burst_cwb',
# 'test_cwb',
# 'cbc_lowmass',
# 'test_lowmass',
# 'cbc_highmass',
# 'test_highmass',
# 'test_grb',
# 'external_grb',
# ]
SKYMAP_VIEWER_SERVICE_URL = "https://embb-dev.ligo.caltech.edu/cgi-bin/skymapViewer"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment