]> git.mxchange.org Git - friendica.git/commitdiff
Speeded up calling "proc_run"
authorMichael <heluecht@pirati.ca>
Wed, 7 Jun 2017 05:42:30 +0000 (05:42 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 7 Jun 2017 05:42:30 +0000 (05:42 +0000)
database.sql
include/dbstructure.php

index 2c1326491965272d9b755e0b847f1d7845c4b995..7f7e975e72818ef4ce84f8dd2a070e90ef9bfd07 100644 (file)
@@ -1,6 +1,6 @@
 -- ------------------------------------------
--- Friendica 3.5.2-rc (Asparagus)
--- DB_UPDATE_VERSION 1227
+-- Friendica 3.5.3dev (Asparagus)
+-- DB_UPDATE_VERSION 1228
 -- ------------------------------------------
 
 
@@ -1116,6 +1116,7 @@ CREATE TABLE IF NOT EXISTS `workerqueue` (
        `executed` datetime NOT NULL DEFAULT '0001-01-01 00:00:00',
         PRIMARY KEY(`id`),
         INDEX `pid` (`pid`),
+        INDEX `parameter` (`parameter`(192)),
         INDEX `priority_created` (`priority`,`created`)
 ) DEFAULT COLLATE utf8mb4_general_ci;
 
index 84493076385fa3e8bb52b8dc2a87ad95aa3938a7..161df46f698e26c00f805e4f0a6e03c9d7bad098 100644 (file)
@@ -1743,6 +1743,7 @@ function db_definition() {
                        "indexes" => array(
                                        "PRIMARY" => array("id"),
                                        "pid" => array("pid"),
+                                       "parameter" => array("parameter(192)"),
                                        "priority_created" => array("priority", "created"),
                                        )
                        );