Skip to content
Snippets Groups Projects
Commit cdb1c813 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

added a little delay if no blocking call will be made

parent 2eb70f67
No related branches found
No related tags found
1 merge request!1531Development
...@@ -106,6 +106,8 @@ class RequestFetcher extends Command ...@@ -106,6 +106,8 @@ class RequestFetcher extends Command
} }
if (!$active && !$answerRead) { if (!$active && !$answerRead) {
$blocking = true; $blocking = true;
} else {
usleep(50 * 1000);
} }
} }
} finally { } finally {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment