From 56fd5f283e35409503ceef7fe21ba13466cf97ab Mon Sep 17 00:00:00 2001 From: hwischnia Date: Wed, 9 Mar 2022 15:35:37 -0800 Subject: [PATCH] updated incorrect description as referenced in issue #10008 Signed-off-by: hwischnia --- packages/backend-tasks/src/tasks/types.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/backend-tasks/src/tasks/types.ts b/packages/backend-tasks/src/tasks/types.ts index 35b5598700..126bed2908 100644 --- a/packages/backend-tasks/src/tasks/types.ts +++ b/packages/backend-tasks/src/tasks/types.ts @@ -41,8 +41,7 @@ export interface TaskScheduleDefinition { * it's considered timed out and gets "released" such that a new invocation * is permitted to take place (possibly, then, on a different worker). * - * If no value is given for this field then there is no timeout. This is - * potentially dangerous. + * This is a required field. */ timeout: Duration; @@ -58,8 +57,7 @@ export interface TaskScheduleDefinition { * * The system does its best to avoid overlapping invocations. * - * If no value is given for this field then the task will only be invoked - * once (on any worker) and then unscheduled automatically. + * This is a required field. */ frequency: Duration;