Refactor cron scheduling
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'id' => 'failover.replica_monitor',
|
||||
'legacy_name' => 'ReplicaFailoverMonitorCron',
|
||||
'name' => 'Replica failover monitor',
|
||||
'description' => 'Checks replicated services and promotes eligible replicas during automatic failover.',
|
||||
'module' => 'failover',
|
||||
'handler' => 'ReplicaFailoverMonitorCron',
|
||||
'schedule' => ['type' => 'interval', 'seconds' => 60],
|
||||
'timeout_seconds' => 300,
|
||||
'estimated_duration_ms' => 3000,
|
||||
'priority' => 24,
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user