mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
Implement Max Queue and Max Batch size when publishing
MaxPublishBatchSize must be set, but MaxQueueSize can be set to 0 to disable check of the rabbitmq queue size
This commit is contained in:
@@ -2,5 +2,5 @@
|
||||
|
||||
public interface IMessagePublisher
|
||||
{
|
||||
Task PublishAsync(IEnumerable<Torrent> torrents, CancellationToken cancellationToken = default);
|
||||
Task<bool> PublishAsync(IReadOnlyCollection<Torrent> torrents, CancellationToken cancellationToken = default);
|
||||
}
|
||||
Reference in New Issue
Block a user