WIP on refreshing expired sessions

- Move RethinkDB operations to their own module
- Incorporated cancellation tokens throughout
This commit is contained in:
2022-04-21 21:38:51 -04:00
parent 9a6b04412a
commit c79306078c
6 changed files with 283 additions and 201 deletions

View File

@@ -13,7 +13,7 @@ type IServiceCollection with
if isNull options then nullArg "options"
this.AddOptions () |> ignore
this.Configure options |> ignore
this.Add (ServiceDescriptor.Transient<IDistributedCache, DistributedRethinkDBCache> ())
this.Add (ServiceDescriptor.Singleton<IDistributedCache, DistributedRethinkDBCache> ())
this
/// <summary>