-
Notifications
You must be signed in to change notification settings - Fork 437
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
Inability to change the collection name in the transport in php-enque/mongodb transport using array as suggested by docs. #1027
Comments
The documentation has one more bug that eluded us for some time and fully appeared on the server.
This suggests that dbname in first example is the same thing as dbname in the second example and code indeed tries to work with it like that. This however is not the case. The MongoDB documentation states that it is NOT a default db, but rather So AFAIK there is no correct way to specify the database to be used. I will try to refactor and fix it along with #1031. |
…odbConnectionFactory config, Incorrect MongodbConnectionFactory documentation Closes: php-enqueue#1031, php-enqueue#1027
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Looking at the:
\Enqueue\Mongodb\MongodbConnectionFactory::__construct
I was unable to figure out how to customize the name of collection for the queue to be stored in and the documentation is wrong here.Sending something like this doesn't work although stated by documentation as possible as it gets thrown away by the this line
$config = $this->parseDsn(empty($config['dsn']) ? 'mongodb:' : $config['dsn']);
.The text was updated successfully, but these errors were encountered: