Cron split into Cronish and OpportunisticQM

/main/cron changed to /main/runqueue

The key-required functionality is not throughly tested yet.
This commit is contained in:
Mikael Nordfeldth
2013-11-20 21:20:42 +01:00
parent 0cd93c2761
commit 9400795a5f
9 changed files with 388 additions and 3 deletions

View File

@@ -67,8 +67,8 @@ abstract class QueueManager extends IoManager
self::$qm = new UnQueueManager();
} else {
switch ($type) {
case 'cron':
self::$qm = new CronQueueManager();
case 'opportunistic':
self::$qm = new OpportunisticQueueManager();
break;
case 'db':
self::$qm = new DBQueueManager();