Merge pull request #6098 from annando/worker-speed

New indexes to speed up the worker
This commit is contained in:
Hypolite Petovan 2018-11-08 06:52:36 -05:00 committed by GitHub
commit df6436d982
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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"]
]
]
];