key prefixes per collector (#172)
* Ensure the collectors manage sagas in their own keyspace, as we do not want overlap (they have the same correlation ids internally from the exchange) * version bump
This commit is contained in:
@@ -62,7 +62,10 @@ public static class ServiceCollectionExtensions
|
||||
cfg.UseMessageRetry(r => r.Intervals(1000,2000,5000));
|
||||
cfg.UseInMemoryOutbox();
|
||||
})
|
||||
.RedisRepository(redisConfiguration.ConnectionString)
|
||||
.RedisRepository(redisConfiguration.ConnectionString, options =>
|
||||
{
|
||||
options.KeyPrefix = "debrid-collector:";
|
||||
})
|
||||
.Endpoint(
|
||||
e =>
|
||||
{
|
||||
|
||||
@@ -99,7 +99,10 @@ public static class ServiceCollectionExtensions
|
||||
timeout.Timeout = TimeSpan.FromMinutes(1);
|
||||
});
|
||||
})
|
||||
.RedisRepository(redisConfiguration.ConnectionString);
|
||||
.RedisRepository(redisConfiguration.ConnectionString, options =>
|
||||
{
|
||||
options.KeyPrefix = "qbit-collector:";
|
||||
});
|
||||
|
||||
private static void AddQBitTorrentClient(this IServiceCollection services)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user