summaryrefslogtreecommitdiff
path: root/ebin
diff options
context:
space:
mode:
authorMichael Klishin <michael@rabbitmq.com>2013-10-28 18:01:49 +0400
committerMichael Klishin <michael@rabbitmq.com>2013-10-28 18:01:49 +0400
commit574bbf9c961bf00407f555277d1360cc0c68fc28 (patch)
tree776ce1421c202bf1ecf377ce968e24bad0a5ad3c /ebin
parent7b28e1f0128f8170f7aee9ccb9b4d098aa4faf43 (diff)
downloadrabbitmq-server-git-574bbf9c961bf00407f555277d1360cc0c68fc28.tar.gz
Use 580 seconds as default heartbeat interval
240 seconds gives a theoretiacl 2.5 decrease in server load (over the previous default of 600 seconds), while 580 gives a ~3% increase. In a test that involved watching CPU usage 1000 idle connections I observe effectively no difference between 600 and 580 values. 580 seconds is enough to cause network activity every 290 (< 300) seconds and hopefully make F5 gear with default timeout settings happy.
Diffstat (limited to 'ebin')
-rw-r--r--ebin/rabbit_app.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/ebin/rabbit_app.in b/ebin/rabbit_app.in
index 86f792e258..a10bad450d 100644
--- a/ebin/rabbit_app.in
+++ b/ebin/rabbit_app.in
@@ -25,7 +25,7 @@
%% 0 ("no limit") would make a better default, but that
%% breaks the QPid Java client
{frame_max, 131072},
- {heartbeat, 240},
+ {heartbeat, 580},
{msg_store_file_size_limit, 16777216},
{queue_index_max_journal_entries, 65536},
{default_user, <<"guest">>},