mirror of
https://github.com/volodymyrsmirnov/MalwareMultiScan.git
synced 2025-08-25 22:01:16 +00:00
basic architecture change: consul + hangfire
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
using System.Threading.Tasks;
|
||||
using Hangfire;
|
||||
using MalwareMultiScan.Shared.Message;
|
||||
|
||||
namespace MalwareMultiScan.Shared.Services.Interfaces
|
||||
{
|
||||
[AutomaticRetry(Attempts = 0, OnAttemptsExceeded = AttemptsExceededAction.Delete)]
|
||||
public interface IScanBackgroundJob
|
||||
{
|
||||
Task Process(ScanQueueMessage message);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user