mirror of
https://github.com/php/frankenphp.git
synced 2026-03-24 00:52:11 +01:00
* removes backoff. * Adjusts comment. * Suggestions by @dunglas * Removes 'max_consecutive_failures' * Removes 'max_consecutive_failures' * Adjusts warning. * Disables the logger in tests. * Revert "Adjusts warning." This reverts commite93a6a9301. * Revert "Removes 'max_consecutive_failures'" This reverts commitba28ea0e4a. * Revert "Removes 'max_consecutive_failures'" This reverts commit32e649caf7. * Only fails on max failures again. * Restores failure timings.
8 lines
179 B
PHP
8 lines
179 B
PHP
<?php
|
|
|
|
if (rand(1, 100) <= 50) {
|
|
throw new Exception('this exception is expected to fail the worker');
|
|
}
|
|
|
|
// frankenphp_handle_request() has not been reached (also a failure)
|