We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a5d9b5 commit da32774Copy full SHA for da32774
src/MongoDBServiceProvider.php
@@ -51,7 +51,7 @@ public function register()
51
$config['collection'] ?? 'cache',
52
$this->getPrefix($config),
53
$app['db']->connection($config['lock_connection'] ?? $config['connection'] ?? null),
54
- ($config['lock_collection'] ?? $config['collection'] ?? 'cache') . '_locks',
+ $config['lock_collection'] ?? (($config['collection'] ?? 'cache') . '_locks'),
55
$config['lock_lottery'] ?? [2, 100],
56
$config['lock_timeout'] ?? 86400,
57
);
0 commit comments