Skip to content

Commit ba0a8c9

Browse files
committed
Ext check
1 parent 91c5fee commit ba0a8c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Database/Database.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8984,7 +8984,7 @@ private function withRetries(
89848984
break;
89858985
}
89868986

8987-
if (Coroutine::getCid() > 0) {
8987+
if (\extension_loaded('swoole') && Coroutine::getCid() > 0) {
89888988
Coroutine::sleep($delayMs / 1000);
89898989
} else {
89908990
\usleep($delayMs * 1000);

0 commit comments

Comments
 (0)