Skip to content

Commit

Permalink
Added TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
blitzcode committed Nov 25, 2016
1 parent 0eb45b9 commit e6d2210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BackgroundProcessing.hs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ scheduleWatcher tvPC = loop =<< (localDay . zonedTimeToLocalTime <$> getZonedTim
pcSchedules . at schedName . _Just . sTrigStatus .~ STAlreadyTriggered
-- Execute all pending actions, sleep for a while and start again
sequence_ ioActions
waitNSec 10
waitNSec 10 -- TODO: All our schedules trigger on the full minute, just wait till then?
loop $ localDay curTime

-- Did we already pass the trigger time of the schedule today?
Expand Down

0 comments on commit e6d2210

Please sign in to comment.