Skip to content

Commit 6ada255

Browse files
Config. default-problem-http-code
To make it more flexible to manage response code.
1 parent fb3bca4 commit 6ada255

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

config/healthcheck.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,12 @@
7777
*/
7878
'default-response-code' => 200,
7979

80+
/*
81+
* Default code for HTTP health check when there any problem occured.
82+
* Will be used in the HealthCheckController's response.
83+
*/
84+
'default-problem-http-code' => 500,
85+
8086
/*
8187
* Default timeout for cURL requests for HTTP health check.
8288
*/

0 commit comments

Comments
 (0)