🔧
This commit is contained in:
@@ -129,7 +129,7 @@ abstract class AbstractTransport implements TransportInterface
|
||||
$sleep = (1 / $this->rate) - (microtime(true) - $this->lastSent);
|
||||
if (0 < $sleep) {
|
||||
$this->logger->debug(sprintf('Email transport "%s" sleeps for %.2f seconds', __CLASS__, $sleep));
|
||||
usleep($sleep * 1000000);
|
||||
usleep((int) ($sleep * 1000000));
|
||||
}
|
||||
$this->lastSent = microtime(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user