From 5dff8db75116940eb2c29cc703b6cf220fcb992e Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Mon, 8 Aug 2016 22:11:24 +0200 Subject: [PATCH] Redefined the priority constants (to have space for future expansions) --- boot.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/boot.php b/boot.php index 9d63ebed77..679116212c 100644 --- 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); /* @}*/