Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Update agent.go
Daniel Hougaard9fcdf17a04a1
diff --git a/cli/packages/cmd/agent.go b/cli/packages/cmd/agent.goindex 52bf932f1a..14acfa6abe 100644--- a/cli/packages/cmd/agent.go+++ b/cli/packages/cmd/agent.go@@ -521,9 +521,12 @@ func (tm *TokenManager) MonitorSecretChanges(secretTemplate Template, sigChan ch}}}+ time.Sleep(pollingInterval)+ } else {+ // It fails to get the access token. So we will re-try in 3 seconds. We do this because if we don't, the user will have to wait for the next polling interval to get the first secret render.+ time.Sleep(3 * time.Second)}- time.Sleep(pollingInterval)}}