Skip to content

Commit

Permalink
Fix "InvalidOperationException: HybridCache is not started" bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lilith committed Nov 4, 2022
1 parent 6766a25 commit 4a8aa52
Showing 1 changed file with 2 additions and 1 deletion.
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
Expand Down Expand Up @@ -142,6 +142,7 @@ public IPlugin Install(Config c)
//OK, we have our cacheOptions;
this._cache = CreateHybridCacheFromOptions(_cacheOptions, _logger);
AsyncUtil.RunSync(() => this._cache.StartAsync(CancellationToken.None));
_isReady = true;
c.Plugins.add_plugin(this);
return this;
}
Expand Down

0 comments on commit 4a8aa52

Please sign in to comment.