Skip to content

Commit ec7ee96

Browse files
reduce windows fix delay timer
1 parent 4fb3037 commit ec7ee96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/CustomSleepMixin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ protected static function customSleep(float|int $delay): void
2020
if (
2121
strtoupper(substr(PHP_OS_FAMILY, 0, 7)) === 'WINDOWS'
2222
) {
23-
usleep(100_000);
23+
usleep(1000);
2424
}
2525
time_nanosleep($seconds, (int) ($nanoseconds * 1_000_000_000));
2626
}

0 commit comments

Comments
 (0)