Skip to content

Commit

Permalink
updated argoSync.groovy
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Aug 10, 2023
1 parent 4d59d8c commit 89a24c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vars/argoSync.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

def call (app, timeoutMinutes=5) {
String label = "ArgoCD Sync - App: '$app'"
int timeoutSeconds = timeoutMinutes * 10
int timeoutSeconds = timeoutMinutes * 60 - 10
echo "Acquiring ArgoCD Lock: $label"
lock (resource: label, inversePrecedence: true) {
// XXX: prevents calling in a parallel stage otherwise you'll get this error:
Expand Down

0 comments on commit 89a24c2

Please sign in to comment.