From ce2376d38e42067e34966178f68c055a1ab1d335 Mon Sep 17 00:00:00 2001 From: Christopher Latza Date: Sun, 7 Jun 2020 18:59:36 +0200 Subject: [PATCH] add timeout http --- start.php | 1 + 1 file changed, 1 insertion(+) diff --git a/start.php b/start.php index 75c617f..9fc4d8e 100644 --- a/start.php +++ b/start.php @@ -31,6 +31,7 @@ while(TRUE) 'http' => [ 'method' => 'POST', 'header' => 'Content-Type: application/json', + 'timeout' => 5.0, 'content' => $jsonMessage ] ];