summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@lshift.net>2008-11-26 22:52:54 +0000
committerMatthias Radestock <matthias@lshift.net>2008-11-26 22:52:54 +0000
commit6873cc7a18705621ee46e77fb0ab5bb0317db99a (patch)
tree9b4cec5e381d0302855f07bacea51cac6fa0d9a2 /src
parent7a5645b006d3dac01eb21b94a9eb8275777cdcc6 (diff)
downloadrabbitmq-server-git-6873cc7a18705621ee46e77fb0ab5bb0317db99a.tar.gz
fix our memsup registration
The name must match that of the standard memsup, otherwise the os_mon functions won't find it, and neither will our existence check in rabbit_alarm.
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_linux_memory.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_linux_memory.erl b/src/rabbit_linux_memory.erl
index 47ba28deeb..2f7d5bf7d3 100644
--- a/src/rabbit_linux_memory.erl
+++ b/src/rabbit_linux_memory.erl
@@ -34,7 +34,7 @@
-export([update/0]).
--define(SERVER, ?MODULE).
+-define(SERVER, memsup). %% must be the same as the standard memsup
-define(MEMORY_CHECK_INTERVAL, 1000).