1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2025-06-12 23:53:19 +02:00

Refining, changelog

This commit is contained in:
Philipp Heckel 2022-05-31 23:27:24 -04:00
parent c80e4e1aa9
commit 769e071593
5 changed files with 19 additions and 15 deletions

View file

@ -73,7 +73,7 @@ func (v *visitor) FirebaseAllowed() error {
func (v *visitor) FirebaseTemporarilyDeny() {
v.mu.Lock()
defer v.mu.Unlock()
v.firebase = time.Now().Add(v.config.FirebaseQuotaLimitPenaltyDuration)
v.firebase = time.Now().Add(v.config.FirebaseQuotaExceededPenaltyDuration)
}
func (v *visitor) EmailAllowed() error {