Using an AbortSignal and Promise.race we abandon running migrations that take longer to complete after the process is aborted than the given abortRespite period
2 lines
108 B
TypeScript
2 lines
108 B
TypeScript
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
export const DEFAULT_RESPITE_SECONDS = 10;
|