mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-10-04 19:46:50 +02:00
identity: add automatic expired token cleanup in prod
This commit is contained in:
1 parent
ad03e9d6f0
commit
40ea0ab6b6
1 file changed
+6
@@ -110,6 +110,12 @@ namespace Streetwriters.Identity
|
||||
.AddOperationalStore(options =>
|
||||
{
|
||||
options.ConnectionString = connectionString;
|
||||
}, (options) =>
|
||||
{
|
||||
#if !DEBUG
|
||||
options.Enable = true;
|
||||
options.Interval = 3600;
|
||||
#endif
|
||||
})
|
||||
.AddConfigurationStore(options =>
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user