mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-04-04 21:57:40 +03:00
Increase allowed auth failure attempts, Increase maximum incremental backoff retry interval
This commit is contained in:
parent
f953302c27
commit
c6bfdd45be
4 changed files with 5 additions and 2 deletions
|
@ -796,6 +796,7 @@ func TestServer_Auth_Fail_CannotPublish(t *testing.T) {
|
|||
|
||||
func TestServer_Auth_Fail_Rate_Limiting(t *testing.T) {
|
||||
c := newTestConfigWithAuthFile(t)
|
||||
c.VisitorAuthFailureLimitBurst = 10
|
||||
s := newTestServer(t, c)
|
||||
|
||||
for i := 0; i < 10; i++ {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue