Improved indexes for worker queue processing
This commit is contained in:
parent
e484678187
commit
616932c8db
1 changed files with 5 additions and 5 deletions
|
@ -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', 1300);
|
define('DB_UPDATE_VERSION', 1301);
|
||||||
}
|
}
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
@ -1376,12 +1376,12 @@ return [
|
||||||
],
|
],
|
||||||
"indexes" => [
|
"indexes" => [
|
||||||
"PRIMARY" => ["id"],
|
"PRIMARY" => ["id"],
|
||||||
"pid" => ["pid"],
|
"done_parameter" => ["done", "parameter(64)"],
|
||||||
"parameter" => ["parameter(64)"],
|
"done_pid" => ["done", "pid"],
|
||||||
"priority_created_next_try" => ["priority", "created", "next_try"],
|
"done_priority_created_next_try" => ["done", "priority", "created", "next_try"],
|
||||||
"done_priority_executed_next_try" => ["done", "priority", "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_priority_next_try" => ["done", "priority", "next_try"],
|
||||||
|
"done_executed_next_try" => ["done", "executed", "next_try"],
|
||||||
"done_next_try" => ["done", "next_try"]
|
"done_next_try" => ["done", "next_try"]
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue