]> git.mxchange.org Git - friendica.git/commitdiff
Redefined the priority constants (to have space for future expansions)
authorMichael Vogel <icarus@dabo.de>
Mon, 8 Aug 2016 20:11:24 +0000 (22:11 +0200)
committerMichael Vogel <icarus@dabo.de>
Mon, 8 Aug 2016 20:11:24 +0000 (22:11 +0200)
boot.php

index 9d63ebed77d8b7cf466f1fcc4ae0048babc0bba9..679116212c5be01a812d9c5f6187351aa5d66d4d 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -392,11 +392,11 @@ define ( 'GRAVITY_COMMENT',      6);
  * Process priority for the worker
  * @{
  */
-define('PRIORITY_SYSTEM',   -1);
 define('PRIORITY_UNDEFINED', 0);
-define('PRIORITY_HIGH',      1);
-define('PRIORITY_MEDIUM',    2);
-define('PRIORITY_LOW',       3);
+define('PRIORITY_SYSTEM',   10);
+define('PRIORITY_HIGH',     20);
+define('PRIORITY_MEDIUM',   30);
+define('PRIORITY_LOW',      40);
 /* @}*/