New indexes to speed up the worker

This commit is contained in:
Michael 2018-11-08 07:09:09 +00:00
parent 27dd913fcc
commit e6c1c74126

View file

@ -34,7 +34,7 @@
use Friendica\Database\DBA;
if (!defined('DB_UPDATE_VERSION')) {
define('DB_UPDATE_VERSION', 1289);
define('DB_UPDATE_VERSION', 1290);
}
return [
@ -1368,7 +1368,10 @@ return [
"pid" => ["pid"],
"parameter" => ["parameter(64)"],
"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"]
]
]
];