summaryrefslogtreecommitdiff
path: root/lib/Multi
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-11-08 17:17:19 +0100
committerYorhel <git@yorhel.nl>2009-11-08 17:17:19 +0100
commit047ea9eedbb84573cc68ccb1320fdb32234ccc39 (patch)
treebbf4c8b11a3b8f3ec1413b69582afc6863ae9e7b /lib/Multi
parentedfd4d26db8e8157538fe166def8409fe0ef2345 (diff)
API: Changed 30 cmds/min. throttle to 100 cmds/10min.
More bursting, but overall less commands... sounds more fair to me, for both server resources and API usage.
Diffstat (limited to 'lib/Multi')
-rw-r--r--lib/Multi/API.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Multi/API.pm b/lib/Multi/API.pm
index 5e9f71d2..101d8c29 100644
--- a/lib/Multi/API.pm
+++ b/lib/Multi/API.pm
@@ -49,7 +49,7 @@ sub spawn {
conn_per_ip => 5,
sess_per_user => 3,
tcp_keepalive => [ 120, 60, 3 ], # time, intvl, probes
- throttle_cmd => [ 2, 30 ], # interval between each command, allowed burst
+ throttle_cmd => [ 6, 100 ], # interval between each command, allowed burst
throttle_sql => [ 60, 1 ], # sql time multiplier, allowed burst (in sql time)
ipbans => [],
@_,