Skip to content

Commit

Permalink
symfony#27345 added missing expireAfterSeconds usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Bennett committed Oct 5, 2018
1 parent 9adc217 commit af3116d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/Lock/Store/MongoDbStore.php
Expand Up @@ -121,7 +121,7 @@ public function createTtlIndex(int $expireAfterSeconds = 0): string
);

$options = array(
'expireAfterSeconds' => 0,
'expireAfterSeconds' => $expireAfterSeconds,
);

return $this->getCollection()->createIndex($keys, $options);
Expand Down

0 comments on commit af3116d

Please sign in to comment.