Skip to content

Commit ae44633

Browse files
authored
Merge pull request #32 from Flowpack/bugfix/31-settings-typecast
Fix type casting of polling settings
2 parents ecac565 + 4d327ae commit ae44633

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Classes/Queue/DoctrineQueue.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@ public function __construct(string $name, array $options)
7474
$this->defaultTimeout = (int)$options['defaultTimeout'];
7575
}
7676
if (isset($options['pollInterval'])) {
77-
$this->pollInterval = (int)$options['pollInterval'] * 1000000;
77+
$this->pollInterval = (int)($options['pollInterval'] * 1000000);
7878
}
7979
if (isset($options['boostPollInterval'])) {
80-
$this->boostPollInterval = (int)$options['boostPollInterval'] * 1000000;
80+
$this->boostPollInterval = (int)($options['boostPollInterval'] * 1000000);
8181
}
8282
if (isset($options['boostTime'])) {
83-
$this->boostTime = (int)$options['boostTime'] * 1000000;
83+
$this->boostTime = (int)($options['boostTime'] * 1000000);
8484
}
8585
if (isset($options['tableName'])) {
8686
$this->tableName = $options['tableName'];

0 commit comments

Comments
 (0)