diff --git a/Classes/Queue/DoctrineQueue.php b/Classes/Queue/DoctrineQueue.php index 731f834..0e23eea 100644 --- a/Classes/Queue/DoctrineQueue.php +++ b/Classes/Queue/DoctrineQueue.php @@ -74,13 +74,13 @@ public function __construct(string $name, array $options) $this->defaultTimeout = (int)$options['defaultTimeout']; } if (isset($options['pollInterval'])) { - $this->pollInterval = (int)$options['pollInterval'] * 1000000; + $this->pollInterval = (int)($options['pollInterval'] * 1000000); } if (isset($options['boostPollInterval'])) { - $this->boostPollInterval = (int)$options['boostPollInterval'] * 1000000; + $this->boostPollInterval = (int)($options['boostPollInterval'] * 1000000); } if (isset($options['boostTime'])) { - $this->boostTime = (int)$options['boostTime'] * 1000000; + $this->boostTime = (int)($options['boostTime'] * 1000000); } if (isset($options['tableName'])) { $this->tableName = $options['tableName'];