]> git.mxchange.org Git - friendica.git/commitdiff
New indexes to speed up the worker
authorMichael <heluecht@pirati.ca>
Thu, 8 Nov 2018 07:09:09 +0000 (07:09 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 8 Nov 2018 07:09:09 +0000 (07:09 +0000)
config/dbstructure.php

index 96f90fb8243b473381afd94ef4e7aff8dd812fee..99e3de9d067071779b19131f4b64618411399dac 100644 (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"]
                ]
        ]
 ];