Skip to content

Commit

Permalink
docs: mention information about where to set the `ARGOCD_SYNC_WAVE_DE…
Browse files Browse the repository at this point in the history
…LAY` environment variable (argoproj#19879)

* Update sync-waves.md

Signed-off-by: Nitish Kumar <justnitish06@gmail.com>

* Update docs/user-guide/sync-waves.md

Co-authored-by: Dan Garfield <dan@codefresh.io>
Signed-off-by: Nitish Kumar <justnitish06@gmail.com>

---------

Signed-off-by: Nitish Kumar <justnitish06@gmail.com>
Co-authored-by: Dan Garfield <dan@codefresh.io>
  • Loading branch information
nitishfy and todaywasawesome committed Sep 11, 2024
1 parent ebbd3d1 commit 5e55d1d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/user-guide/sync-waves.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,5 @@ Because an application can have resources that are unhealthy in the first wave,
During pruning of resources, resources from higher waves are processed first before moving to lower waves. If, for any reason, a resource isn't removed/pruned in a wave, the resources in next waves won't be processed. This is to ensure proper resource cleanup between waves.
Note that there's currently a delay between each sync wave in order give other controllers a chance to react to the spec change
that we just applied. This also prevent Argo CD from assessing resource health too quickly (against the stale object), causing
hooks to fire prematurely. The current delay between each sync wave is 2 seconds and can be configured via environment
variable `ARGOCD_SYNC_WAVE_DELAY`.
Note: there is a delay between each sync wave to give other controllers a chance to react to the applied spec change. This prevents Argo CD from assessing resource health too quickly (against a stale object), and firing
hooks prematurely. The default delay between each sync wave is 2 seconds. This can be adjusted by setting the `ARGOCD_SYNC_WAVE_DELAY` environment variable in the argocd-application-controller deployment.

0 comments on commit 5e55d1d

Please sign in to comment.