Merge pull request #6098 from annando/worker-speed
New indexes to speed up the worker
This commit is contained in:
commit
df6436d982
|
@ -34,7 +34,7 @@
|
||||||
use Friendica\Database\DBA;
|
use Friendica\Database\DBA;
|
||||||
|
|
||||||
if (!defined('DB_UPDATE_VERSION')) {
|
if (!defined('DB_UPDATE_VERSION')) {
|
||||||
define('DB_UPDATE_VERSION', 1289);
|
define('DB_UPDATE_VERSION', 1290);
|
||||||
}
|
}
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
@ -1368,7 +1368,10 @@ return [
|
||||||
"pid" => ["pid"],
|
"pid" => ["pid"],
|
||||||
"parameter" => ["parameter(64)"],
|
"parameter" => ["parameter(64)"],
|
||||||
"priority_created_next_try" => ["priority", "created", "next_try"],
|
"priority_created_next_try" => ["priority", "created", "next_try"],
|
||||||
"done_executed_next_try" => ["done", "executed", "next_try"]
|
"done_priority_executed_next_try" => ["done", "priority", "executed", "next_try"],
|
||||||
|
"done_executed_next_try" => ["done", "executed", "next_try"],
|
||||||
|
"done_priority_next_try" => ["done", "priority", "next_try"],
|
||||||
|
"done_next_try" => ["done", "next_try"]
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue