gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] 01/02: Christian's thresholds for throttling


From: gnunet
Subject: [taler-wallet-core] 01/02: Christian's thresholds for throttling
Date: Sun, 15 Dec 2019 17:49:17 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-core.

commit 985c90e0adc80301ee842bc290041b6a7d59d51e
Author: Florian Dold <address@hidden>
AuthorDate: Sun Dec 15 17:00:22 2019 +0100

    Christian's thresholds for throttling
---
 src/util/RequestThrottler.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/util/RequestThrottler.ts b/src/util/RequestThrottler.ts
index c144cb15..01695ec3 100644
--- a/src/util/RequestThrottler.ts
+++ b/src/util/RequestThrottler.ts
@@ -26,7 +26,7 @@ import { getTimestampNow, Timestamp } from 
"../types/walletTypes";
 /**
  * Maximum request per second, per origin.
  */
-const MAX_PER_SECOND = 20;
+const MAX_PER_SECOND = 50;
 
 /**
  * Maximum request per minute, per origin.
@@ -36,7 +36,7 @@ const MAX_PER_MINUTE = 100;
 /**
  * Maximum request per hour, per origin.
  */
-const MAX_PER_HOUR = 5000;
+const MAX_PER_HOUR = 1000;
 
 
 /**

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]