Function __global->handle_failover_auto_switching
Definitions
data/failover_script.php
- Switch over the failover mode appropriately if we detect a change in problem state.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $iteration | integer | No | No | 0 | N/A | N/A | The check iteration (if deactivating we check a number of times to ensure all is still okay) |
Preview
Code (PHP)
/**
* Switch over the failover mode appropriately if we detect a change in problem state.
*
* @param integer $iteration The check iteration (if deactivating we check a number of times to ensure all is still okay)
*/
function handle_failover_auto_switching(int $iteration = 0)
* Switch over the failover mode appropriately if we detect a change in problem state.
*
* @param integer $iteration The check iteration (if deactivating we check a number of times to ensure all is still okay)
*/
function handle_failover_auto_switching(int $iteration = 0)

