Skip to content

Commit c584355

Browse files
committed
Set required visibility on consts
1 parent ae72fdd commit c584355

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

app/code/Magento/Cron/Observer/ProcessCronQueueObserver.php

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -35,59 +35,59 @@ class ProcessCronQueueObserver implements ObserverInterface
3535
/**#@+
3636
* Cache key values
3737
*/
38-
const CACHE_KEY_LAST_SCHEDULE_GENERATE_AT = 'cron_last_schedule_generate_at';
38+
public const CACHE_KEY_LAST_SCHEDULE_GENERATE_AT = 'cron_last_schedule_generate_at';
3939

40-
const CACHE_KEY_LAST_HISTORY_CLEANUP_AT = 'cron_last_history_cleanup_at';
40+
public const CACHE_KEY_LAST_HISTORY_CLEANUP_AT = 'cron_last_history_cleanup_at';
4141

4242
/**
4343
* Flag for internal communication between processes for running
4444
* all jobs in a group in parallel as a separate process
4545
*/
46-
const STANDALONE_PROCESS_STARTED = 'standaloneProcessStarted';
46+
public const STANDALONE_PROCESS_STARTED = 'standaloneProcessStarted';
4747

4848
/**#@-*/
4949

5050
/**#@+
5151
* List of configurable constants used to calculate and validate during handling cron jobs
5252
*/
53-
const XML_PATH_SCHEDULE_GENERATE_EVERY = 'schedule_generate_every';
53+
public const XML_PATH_SCHEDULE_GENERATE_EVERY = 'schedule_generate_every';
5454

55-
const XML_PATH_SCHEDULE_AHEAD_FOR = 'schedule_ahead_for';
55+
public const XML_PATH_SCHEDULE_AHEAD_FOR = 'schedule_ahead_for';
5656

57-
const XML_PATH_SCHEDULE_LIFETIME = 'schedule_lifetime';
57+
public const XML_PATH_SCHEDULE_LIFETIME = 'schedule_lifetime';
5858

59-
const XML_PATH_HISTORY_CLEANUP_EVERY = 'history_cleanup_every';
59+
public const XML_PATH_HISTORY_CLEANUP_EVERY = 'history_cleanup_every';
6060

61-
const XML_PATH_HISTORY_SUCCESS = 'history_success_lifetime';
61+
public const XML_PATH_HISTORY_SUCCESS = 'history_success_lifetime';
6262

63-
const XML_PATH_HISTORY_FAILURE = 'history_failure_lifetime';
63+
public const XML_PATH_HISTORY_FAILURE = 'history_failure_lifetime';
6464

6565
/**#@-*/
6666

6767
/**
6868
* Value of seconds in one minute
6969
*/
70-
const SECONDS_IN_MINUTE = 60;
70+
public const SECONDS_IN_MINUTE = 60;
7171

7272
/**
7373
* How long to wait for cron group to become unlocked
7474
*/
75-
const LOCK_TIMEOUT = 60;
75+
public const LOCK_TIMEOUT = 60;
7676

7777
/**
7878
* Static lock prefix for cron group locking
7979
*/
80-
const LOCK_PREFIX = 'CRON_';
80+
public const LOCK_PREFIX = 'CRON_';
8181

8282
/**
8383
* Timer ID for profiling
8484
*/
85-
const CRON_TIMERID = 'job %s';
85+
public const CRON_TIMERID = 'job %s';
8686

8787
/**
8888
* Max retries for acquire locks for cron jobs
8989
*/
90-
const MAX_RETRIES = 5;
90+
public const MAX_RETRIES = 5;
9191

9292
/**
9393
* @var ScheduleCollection

0 commit comments

Comments
 (0)