Skip to content

Instantly share code, notes, and snippets.

View MrHDOLEK's full-sized avatar

Aleksander Kowalski MrHDOLEK

View GitHub Profile
@MrHDOLEK
MrHDOLEK / PingController.php
Created November 25, 2023 19:37
PingController
<?php
declare(strict_types=1);
class PingController extends Controller
{
/**
* Check if the service is responsive.
*/
public function index(): JsonResponse
[global]
daemonize = no
log_limit = 65536
error_log = /dev/stderr
emergency_restart_threshold = 10
emergency_restart_interval = 1m
log_level = warning
process_control_timeout = 10s