Skip to content

Commit

Permalink
update Thread.php
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTechsTech committed Mar 7, 2023
1 parent ee2dde5 commit 14d7165
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Spawn/Thread.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public function create($tid, callable $task, ...$args): self
if (isset($async->threads[$tid]) && $async->threads[$tid] instanceof \UVAsync && \uv_is_active($async->threads[$tid])) {
\uv_async_send($async->threads[$tid]);
do {
\usleep($async->count() * 7000);
\usleep($async->count() * 35000);
} while (!$async->releaseQueue);
}
}, function () {
Expand Down

0 comments on commit 14d7165

Please sign in to comment.