Merge pull request #6719 from annando/worker-scheduler

New scheduler mechanism - now to the correct branch
This commit is contained in:
Hypolite Petovan 2019-02-21 16:12:19 -05:00 committed by GitHub
commit 4375edd63e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 187 additions and 240 deletions

View file

@ -616,7 +616,7 @@ class Contact extends BaseObject
DBA::update('contact', ['archive' => true, 'network' => Protocol::PHANTOM, 'deleted' => true], ['id' => $id]);
// Delete it in the background
Worker::add(PRIORITY_LOW, 'RemoveContact', $id);
Worker::add(PRIORITY_MEDIUM, 'RemoveContact', $id);
}
/**