Browse Source

Cache duration extended again.

pull/200/head
Sebastian Stehle 8 years ago
parent
commit
ae5f0ff986
  1. 2
      src/Squidex.Infrastructure/States/StateFactory.cs

2
src/Squidex.Infrastructure/States/StateFactory.cs

@ -16,7 +16,7 @@ namespace Squidex.Infrastructure.States
{ {
public sealed class StateFactory : DisposableObjectBase, IExternalSystem, IStateFactory public sealed class StateFactory : DisposableObjectBase, IExternalSystem, IStateFactory
{ {
private static readonly TimeSpan CacheDuration = TimeSpan.FromMinutes(1); private static readonly TimeSpan CacheDuration = TimeSpan.FromMinutes(10);
private readonly IPubSub pubSub; private readonly IPubSub pubSub;
private readonly IStateStore store; private readonly IStateStore store;
private readonly IMemoryCache statesCache; private readonly IMemoryCache statesCache;

Loading…
Cancel
Save