{"push_id":1096814745,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"677d5e9cb993149d64b5ea5a81ab2674994fe865","before":"9541f3df17b210f5533c5426dcb8550f32a8e791","commits":[{"sha":"677d5e9cb993149d64b5ea5a81ab2674994fe865","author":{"email":"4816dabf8db1bc6cac35b3a24cab2ff844b5b0c7@trustly.com","name":"Joel Jacobson"},"message":"Replace RunInterval/SleepInterval with IntervalAGAIN/IntervalDONE\n\nRunInterval goes away to keep down feature creep, we can always add it back later if we ever need it.\nSleepInterval is now named IntervalAGAIN, which is the time we sleep between each cron job execution, i.e. between each db txn commit to spread the load.\nThe new IntervalDONE is how long time to sleep after the cron job has completed and returned 'DONE' to indicate there is no more work.\nIf IntervalDONE is NULL this means we won't execute the cron job every again if it returns 'DONE', which is also the default.\n\nThe IntervalAGAIN and IntervalDONE are useful for cron jobs that most of the times have very little to do,\nbut at times have a lot to do and needs to be called with very short intervals in between each db txn,\ne.g. maybe a 00:00:00.05 IntervalAGAIN and a 00:00:01 IntervalDONE, which would create a cron job\nthat sleeps 1 second between each run, but when it has job to do and returns AGAIN is called again after 50 ms.","distinct":true,"url":"https://api.github.com/repos/trustly/pgcronjob/commits/677d5e9cb993149d64b5ea5a81ab2674994fe865"}]}