We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Setting the TTL for the mongodriver does currently not work as expected. The docs provide the following example (adjusted to trigger error):
maxAge := 30 store := mongodriver.NewStore(c, maxAge, true, []byte("secret"))
This will result in an error due to an integer overflow caused by: https://github.com/laziness-coders/mongostore/blob/05d8c96df4538deba8a65fb43ba45b6e9e5d95df/mongostore.go#L61
This is however fixed in a newer version of the used mongodriver package, as can be seen in this PR: laziness-coders/mongostore#1
I propose updating this dependency to ensure TTL indexes work as expected.
The text was updated successfully, but these errors were encountered:
mongodriver
mongostore
No branches or pull requests
Setting the TTL for the mongodriver does currently not work as expected. The docs provide the following example (adjusted to trigger error):
This will result in an error due to an integer overflow caused by:
https://github.com/laziness-coders/mongostore/blob/05d8c96df4538deba8a65fb43ba45b6e9e5d95df/mongostore.go#L61
This is however fixed in a newer version of the used mongodriver package, as can be seen in this PR:
laziness-coders/mongostore#1
I propose updating this dependency to ensure TTL indexes work as expected.
The text was updated successfully, but these errors were encountered: