From 750015b3fff91af8b9b86869411216a06bd13614 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Thu, 16 Mar 2023 16:56:09 +0100 Subject: [PATCH] stale information might not be that great --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 1139a3b..00cfe48 100644 --- a/main.go +++ b/main.go @@ -127,7 +127,7 @@ func lifecycle(notification *GiteaNotification, dispatch *nomad.JobDispatchRespo // get job's deployment jobs := NomadClient.Jobs() queryOpt := nomad.QueryOptions{ - AllowStale: true, + AllowStale: false, } safeguard := 1000