summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiana Corbacho <diana@rabbitmq.com>2019-08-16 14:54:58 +0100
committerDiana Corbacho <diana@rabbitmq.com>2019-08-16 14:54:58 +0100
commit3c3600160d27a770dd1b3e269a5f30800ee4ef99 (patch)
treefd75e3e3abc5e5e2a8099454618c65e61997dcc4
parent234b6312f7a342a03217206662e82e5a6a34a76b (diff)
downloadrabbitmq-server-git-3c3600160d27a770dd1b3e269a5f30800ee4ef99.tar.gz
Replace timer:send_after/3 by erlang:send_after/3
[#167926549]
-rw-r--r--src/rabbit_disk_monitor.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_disk_monitor.erl b/src/rabbit_disk_monitor.erl
index 4e5e3d2a28..8a9be7bee4 100644
--- a/src/rabbit_disk_monitor.erl
+++ b/src/rabbit_disk_monitor.erl
@@ -300,6 +300,6 @@ enable(#state{dir = Dir, interval = Interval, limit = Limit, retries = Retries}
rabbit_log:info("Free disk space monitor encountered an error "
"(e.g. failed to parse output from OS tools): ~p, retries left: ~s~n",
[Err, Retries]),
- timer:send_after(Interval, self(), try_enable),
+ erlang:send_after(Interval, self(), try_enable),
State#state{enabled = false}
end.