Skip to content
Snippets Groups Projects
Commit 035d345f authored by Megan Henning's avatar Megan Henning
Browse files

Merge pull request #218 from scitran/increase-token-cache

Expire cached token after 7 days
parents b0842661 0f38deee
No related branches found
No related tags found
No related merge requests found
......@@ -157,7 +157,7 @@ def initialize_db():
db.acquisitions.create_index('session')
db.acquisitions.create_index('uid')
db.acquisitions.create_index('collections')
db.authtokens.create_index('timestamp', expireAfterSeconds=600)
db.authtokens.create_index('timestamp', expireAfterSeconds=604800)
db.uploads.create_index('timestamp', expireAfterSeconds=60)
db.downloads.create_index('timestamp', expireAfterSeconds=60)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment