Files
knightcrawler/src/producer/Interfaces/IMessagePublisher.cs
iPromKnight 68edaba308 Introduce max batch size, and configurable publish window
Still need to implement queue size limit
Also fixes env var consistency between addon and consumer
2024-02-02 13:49:54 +00:00

6 lines
174 B
C#

namespace Producer.Interfaces;
public interface IMessagePublisher
{
Task PublishAsync(IEnumerable<Torrent> torrents, CancellationToken cancellationToken = default);
}