@@ -34,59 +34,59 @@ class ProcessCronQueueObserver implements ObserverInterface
34
34
/**#@+
35
35
* Cache key values
36
36
*/
37
- const CACHE_KEY_LAST_SCHEDULE_GENERATE_AT = 'cron_last_schedule_generate_at ' ;
37
+ public const CACHE_KEY_LAST_SCHEDULE_GENERATE_AT = 'cron_last_schedule_generate_at ' ;
38
38
39
- const CACHE_KEY_LAST_HISTORY_CLEANUP_AT = 'cron_last_history_cleanup_at ' ;
39
+ public const CACHE_KEY_LAST_HISTORY_CLEANUP_AT = 'cron_last_history_cleanup_at ' ;
40
40
41
41
/**
42
42
* Flag for internal communication between processes for running
43
43
* all jobs in a group in parallel as a separate process
44
44
*/
45
- const STANDALONE_PROCESS_STARTED = 'standaloneProcessStarted ' ;
45
+ public const STANDALONE_PROCESS_STARTED = 'standaloneProcessStarted ' ;
46
46
47
47
/**#@-*/
48
48
49
49
/**#@+
50
50
* List of configurable constants used to calculate and validate during handling cron jobs
51
51
*/
52
- const XML_PATH_SCHEDULE_GENERATE_EVERY = 'schedule_generate_every ' ;
52
+ public const XML_PATH_SCHEDULE_GENERATE_EVERY = 'schedule_generate_every ' ;
53
53
54
- const XML_PATH_SCHEDULE_AHEAD_FOR = 'schedule_ahead_for ' ;
54
+ public const XML_PATH_SCHEDULE_AHEAD_FOR = 'schedule_ahead_for ' ;
55
55
56
- const XML_PATH_SCHEDULE_LIFETIME = 'schedule_lifetime ' ;
56
+ public const XML_PATH_SCHEDULE_LIFETIME = 'schedule_lifetime ' ;
57
57
58
- const XML_PATH_HISTORY_CLEANUP_EVERY = 'history_cleanup_every ' ;
58
+ public const XML_PATH_HISTORY_CLEANUP_EVERY = 'history_cleanup_every ' ;
59
59
60
- const XML_PATH_HISTORY_SUCCESS = 'history_success_lifetime ' ;
60
+ public const XML_PATH_HISTORY_SUCCESS = 'history_success_lifetime ' ;
61
61
62
- const XML_PATH_HISTORY_FAILURE = 'history_failure_lifetime ' ;
62
+ public const XML_PATH_HISTORY_FAILURE = 'history_failure_lifetime ' ;
63
63
64
64
/**#@-*/
65
65
66
66
/**
67
67
* Value of seconds in one minute
68
68
*/
69
- const SECONDS_IN_MINUTE = 60 ;
69
+ public const SECONDS_IN_MINUTE = 60 ;
70
70
71
71
/**
72
72
* How long to wait for cron group to become unlocked
73
73
*/
74
- const LOCK_TIMEOUT = 60 ;
74
+ public const LOCK_TIMEOUT = 60 ;
75
75
76
76
/**
77
77
* Static lock prefix for cron group locking
78
78
*/
79
- const LOCK_PREFIX = 'CRON_ ' ;
79
+ public const LOCK_PREFIX = 'CRON_ ' ;
80
80
81
81
/**
82
82
* Timer ID for profiling
83
83
*/
84
- const CRON_TIMERID = 'job %s ' ;
84
+ public const CRON_TIMERID = 'job %s ' ;
85
85
86
86
/**
87
87
* Max retries for acquire locks for cron jobs
88
88
*/
89
- const MAX_RETRIES = 5 ;
89
+ public const MAX_RETRIES = 5 ;
90
90
91
91
/**
92
92
* @var ScheduleCollection
0 commit comments