fix(jobs): wake more often during waitUntil
This commit is contained in:
parent
b9cc5b9970
commit
6115b83bb3
@ -449,7 +449,7 @@ execCrontab = do
|
|||||||
if
|
if
|
||||||
| diffT < acc -> return True
|
| diffT < acc -> return True
|
||||||
| otherwise -> do
|
| otherwise -> do
|
||||||
delay <- liftIO . newDelay . round $ waitTime * 1e6
|
delay <- liftIO . newDelay . round $ waitTime / 2 * 1e6
|
||||||
let
|
let
|
||||||
awaitDelayThread = False <$ waitDelay delay
|
awaitDelayThread = False <$ waitDelay delay
|
||||||
awaitCrontabChange = do
|
awaitCrontabChange = do
|
||||||
|
|||||||
Reference in New Issue
Block a user