You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support for logically separated redis instances (#1647)
* Remove unnecessary disabled org check
* Add support for separate redis servers for caching, rate limiter, marqs, and the pub/sub stuff (they all default to the previously used env vars for redis)
@@ -107,11 +105,6 @@ export class FairDequeuingStrategy implements MarQSFairDequeueStrategy {
107
105
fresh: 60_000,// The time in milliseconds that a value is considered fresh. Cache hits within this time will return the cached value.
108
106
stale: 180_000,// The time in milliseconds that a value is considered stale. Cache hits within this time will return the cached value and trigger a background refresh.
109
107
}),
110
-
disabledConcurrency: newNamespace<boolean>(ctx,{
111
-
stores: [memory],
112
-
fresh: 30_000,// The time in milliseconds that a value is considered fresh. Cache hits within this time will return the cached value.
113
-
stale: 180_000,// The time in milliseconds that a value is considered stale. Cache hits within this time will return the cached value and trigger a background refresh.
114
-
}),
115
108
});
116
109
117
110
this._rng=seedrandom(options.seed);
@@ -512,16 +505,6 @@ export class FairDequeuingStrategy implements MarQSFairDequeueStrategy {
0 commit comments