mirror of
https://github.com/friendica/friendica
synced 2025-04-26 22:30:18 +00:00
Merge pull request #6719 from annando/worker-scheduler
New scheduler mechanism - now to the correct branch
This commit is contained in:
commit
4375edd63e
4 changed files with 187 additions and 240 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue