-
Notifications
You must be signed in to change notification settings - Fork 1
Watch stream task
Martin Müller edited this page Dec 28, 2020
·
4 revisions
In order to make sure the Twitter stream is running, a period job can be run with
rake scheduler:watch_stream
This task will check if the stream activity is normal by pinging crowdbreaks-streamer and checking the health of Redis and Elasticsearch. The messages can be disabled by setting the WATCH_STREAM
environment variable to false
. In case of errors an email will be sent to the email address set in WATCH_STREAM_WARNING_EMAIL
. After an email has been sent, no emails will be sent for a duration of 6h.