Fix temporary ache disable
This commit is contained in:
		| @@ -64,7 +64,7 @@ namespace Core.Thalos.Provider.Providers.Onboarding | ||||
|             var cacheKey = CacheKeyHelper.GenerateCacheKey(this, "GetModuleById", _id); | ||||
|             var cachedData = await cacheProvider.GetAsync<ModuleAdapter>(cacheKey); | ||||
|  | ||||
|             //if (cachedData is not null) return cachedData; | ||||
|             if (cachedData is not null) return cachedData; | ||||
|  | ||||
|             var module = await repository.FindByIdAsync(_id); | ||||
|             await cacheProvider.SetAsync(cacheKey, module, TimeSpan.FromMinutes(cacheSettings.DefaultCacheDurationInMinutes)); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user