mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-07-06 10:57:50 +02:00
identity: add automatic expired token cleanup in prod
This commit is contained in:
@@ -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