Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

polling_integer type not correctly handled when using DSN #673

Merged
merged 1 commit into from
Dec 7, 2018

Conversation

jak
Copy link
Contributor

@jak jak commented Dec 6, 2018

Fixes this error:

PHP Fatal error:  Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Argument 1 passed to Enqueue\Mongodb\MongodbConsumer::setPollingInterval() must be of the type integer, string given, called in /var/www/api/vendor/enqueue/mongodb/MongodbContext.php on line 97 in /var/www/api/vendor/enqueue/mongodb/MongodbConsumer.php:40

when running bin/console enqueue:consume with a DSN with a polling_interval parameter

@jak jak force-pushed the polling_interval_parsed_as_string branch from 846ff4d to b44a6e8 Compare December 6, 2018 20:04
@jak
Copy link
Contributor Author

jak commented Dec 6, 2018

The test failures do not appear to be related.

@makasim makasim merged commit b685e63 into php-enqueue:master Dec 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants