Skip to content

Commit

Permalink
Merge pull request #32 from Flowpack/bugfix/31-settings-typecast
Browse files Browse the repository at this point in the history
Fix type casting of polling settings
  • Loading branch information
robertlemke authored Mar 7, 2024
2 parents ecac565 + 4d327ae commit ae44633
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Classes/Queue/DoctrineQueue.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand Down

0 comments on commit ae44633

Please sign in to comment.