fix(db): change buffer lock interval
This commit is contained in:
@@ -76,7 +76,7 @@ export class RedisBuffer<T> {
|
|||||||
|
|
||||||
protected async waitForReleasedLock(
|
protected async waitForReleasedLock(
|
||||||
maxWaitTime = 8000,
|
maxWaitTime = 8000,
|
||||||
checkInterval = 500,
|
checkInterval = 250,
|
||||||
): Promise<boolean> {
|
): Promise<boolean> {
|
||||||
const startTime = performance.now();
|
const startTime = performance.now();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user