Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
plugins/logs: Fix broken retry logic
We were incorrectly resetting the retry counter after every error condition instead of using the incremented value. As a result, retry delay would always be 0s. This meant that if OPA encountered an error while uploading decision logs it would immediately retry instead of doing an exponential backoff. Fixes: open-policy-agent#4486 Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com>
- Loading branch information