add file download event

This commit is contained in:
Shaun Walker
2022-10-05 08:00:45 -04:00
parent c5b632cb24
commit 2e32b65421
3 changed files with 16 additions and 9 deletions

View File

@ -7,12 +7,12 @@ using Oqtane.Shared;
namespace Oqtane.Infrastructure
{
public class EventJob : IHostedService
public class CacheInvalidationHostedService : IHostedService
{
private readonly ISyncManager _syncManager;
private readonly IMemoryCache _cache;
public EventJob(ISyncManager syncManager, IMemoryCache cache)
public CacheInvalidationHostedService(ISyncManager syncManager, IMemoryCache cache)
{
_syncManager = syncManager;
_cache = cache;