Redefined the priority constants (to have space for future expansions)
This commit is contained in:
parent
d138b11868
commit
5dff8db751
1 changed files with 4 additions and 4 deletions
8
boot.php
8
boot.php
|
@ -392,11 +392,11 @@ define ( 'GRAVITY_COMMENT', 6);
|
||||||
* Process priority for the worker
|
* Process priority for the worker
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
define('PRIORITY_SYSTEM', -1);
|
|
||||||
define('PRIORITY_UNDEFINED', 0);
|
define('PRIORITY_UNDEFINED', 0);
|
||||||
define('PRIORITY_HIGH', 1);
|
define('PRIORITY_SYSTEM', 10);
|
||||||
define('PRIORITY_MEDIUM', 2);
|
define('PRIORITY_HIGH', 20);
|
||||||
define('PRIORITY_LOW', 3);
|
define('PRIORITY_MEDIUM', 30);
|
||||||
|
define('PRIORITY_LOW', 40);
|
||||||
/* @}*/
|
/* @}*/
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue