fermitools / managed-tokens

Managed Tokens service for FIFE Experiments at Fermilab
Apache License 2.0
0 stars 0 forks source link

Only send notifications if we have more than 3 notifications per service, role, and optionally node #19

Closed shreyb closed 1 year ago

shreyb commented 1 year ago

Closes #2

If we have gotten an error for the same service and role in the case of a SetupError, or the same service, role, and node for a PushError, we send the notification. Otherwise, we just increment the count in the new ManagedTokensDatabase, and move on.