api-reports

Signed-off-by: Tim Hansen <timbonicush@spotify.com>
This commit is contained in:
Tim Hansen
2024-07-16 09:34:27 -04:00
parent 1e6c3ac445
commit 03692ff539
2 changed files with 20 additions and 3 deletions
+12 -2
View File
@@ -608,7 +608,10 @@ export interface SchedulerServiceTaskScheduleDefinition {
cron: string;
}
| Duration
| HumanDuration;
| HumanDuration
| {
trigger: 'manual';
};
initialDelay?: Duration | HumanDuration;
scope?: 'global' | 'local';
timeout: Duration | HumanDuration;
@@ -621,7 +624,14 @@ export interface SchedulerServiceTaskScheduleDefinitionConfig {
cron: string;
}
| string
| HumanDuration;
| HumanDuration
/**
* This task will only run when manually triggered with the `triggerTask` method; no automatic
* scheduling. This is useful for locking of global tasks that should not be run concurrently.
*/
| {
trigger: 'manual';
};
initialDelay?: string | HumanDuration;
scope?: 'global' | 'local';
timeout: string | HumanDuration;
+8 -1
View File
@@ -62,7 +62,14 @@ export interface TaskScheduleDefinition {
cron: string;
}
| Duration
| HumanDuration_2;
| HumanDuration_2
/**
* This task will only run when manually triggered with the `triggerTask` method; no automatic
* scheduling. This is useful for locking of global tasks that should not be run concurrently.
*/
| {
trigger: 'manual';
};
initialDelay?: Duration | HumanDuration_2;
scope?: 'global' | 'local';
timeout: Duration | HumanDuration_2;