×
Clear all filters including search bar
Valeri Tandilashvili's Personal Professional Blog
error: The following untracked working tree files would be overwritten by merge:
app/Log.php
The solution that fixed the problem:git add *
git stash
git pull
time limit
for file_get_contents
is 60 seconds which we can increase using timeout
property of http
object $opts = [
"http" => [
"method" => "GET",
"timeout"=> 1200,
"header" =>
"Channel-Name: ".CHANNEL."\r\n" .
"Authorization: ".AUTHORIZATION."\r\n"
]
];
// DOCS: https://www.php.net/manual/en/function.stream-context-create.php
$context = stream_context_create($opts); //, false, $context
$startTime = microtime(1);
$res = file_get_contents($url . $query, false, $context);