mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-22 02:27:44 +08:00
feat(ql3): establish 3.0 incubation baseline
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
export const MAX_RUN_LOST_RETRY_PAGE_SIZE = 64;
|
||||
|
||||
export interface RunLostRetryCandidate {
|
||||
runId: string;
|
||||
phase: 'lost' | 'retry_wait';
|
||||
availableAtMs: number;
|
||||
}
|
||||
|
||||
export interface ListRunLostRetryCandidatesOptions {
|
||||
observedAtMs: number;
|
||||
limit?: number;
|
||||
}
|
||||
|
||||
export interface RunLostRetrySource {
|
||||
listCandidates(
|
||||
options: ListRunLostRetryCandidatesOptions,
|
||||
): Promise<readonly RunLostRetryCandidate[]>;
|
||||
}
|
||||
Reference in New Issue
Block a user