1
0
Fork 0

Merge pull request #3874 from tobiasd/20171009-checkversion

check upstream version
This commit is contained in:
Hypolite Petovan 2017-11-06 13:59:49 -05:00 committed by GitHub
commit c847a2f9cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 74 additions and 0 deletions

View file

@ -80,6 +80,9 @@ function cron_run(&$argv, &$argc){
// Delete all done workerqueue entries
dba::delete('workerqueue', array('`done` AND `executed` < UTC_TIMESTAMP() - INTERVAL 12 HOUR'));
// check upstream version?
Worker::add(PRIORITY_LOW, 'checkversion');
}
// Poll contacts