This commit is contained in:
+2
-2
@@ -52,7 +52,7 @@ export function webhookMerger(app: App) {
|
|||||||
return status(202);
|
return status(202);
|
||||||
}
|
}
|
||||||
|
|
||||||
log.debug`collected ${existing}`;
|
log`collected ${existing}`;
|
||||||
|
|
||||||
existing.timer = setTimeout(
|
existing.timer = setTimeout(
|
||||||
() => forward(id, url, existing.data),
|
() => forward(id, url, existing.data),
|
||||||
@@ -68,7 +68,7 @@ export function webhookMerger(app: App) {
|
|||||||
timer: undefined as never,
|
timer: undefined as never,
|
||||||
};
|
};
|
||||||
|
|
||||||
log.debug`collected ${state}`;
|
log`collected ${state}`;
|
||||||
|
|
||||||
state.timer = setTimeout(() => forward(id, url, state.data), bufferTime);
|
state.timer = setTimeout(() => forward(id, url, state.data), bufferTime);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user