chihacknight / kcbx-petcoke

Monitoring windspeed at the KCBX Petcoke Terminals
MIT License
0 stars 3 forks source link

Rate limit outgoing wind notifications #7

Closed benwilhelm closed 9 years ago

benwilhelm commented 9 years ago

Notifications of high wind should be rate limited so users aren't receiving texts every 5 minutes on windy days. We're already using memcachier to cache the forecast.io results. We can use it to cache the last notification time, which would be checked before sending new notifications.

benwilhelm commented 9 years ago

Commit: 9b505b8