diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2012-11-08 12:53:27 +0000 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2012-11-08 12:53:27 +0000 |
commit | 0aca77c2ad5ab599d74723704bda3355b06f5af4 (patch) | |
tree | e0e07b024a3dc4692931a210b1bd20f92afeb9cd /src/file_handle_cache.erl | |
parent | 1a4262f574568e17a8702ff6772a7ca8eed8c2d6 (diff) | |
download | rabbitmq-server-0aca77c2ad5ab599d74723704bda3355b06f5af4.tar.gz |
Pass length to prioritise_*
Diffstat (limited to 'src/file_handle_cache.erl')
-rw-r--r-- | src/file_handle_cache.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/file_handle_cache.erl b/src/file_handle_cache.erl index 3260d369..f39ba01d 100644 --- a/src/file_handle_cache.erl +++ b/src/file_handle_cache.erl @@ -152,7 +152,7 @@ -export([ulimit/0]). -export([start_link/0, start_link/2, init/1, handle_call/3, handle_cast/2, - handle_info/2, terminate/2, code_change/3, prioritise_cast/2]). + handle_info/2, terminate/2, code_change/3, prioritise_cast/3]). -define(SERVER, ?MODULE). -define(RESERVED_FOR_OTHERS, 100). @@ -848,7 +848,7 @@ init([AlarmSet, AlarmClear]) -> alarm_set = AlarmSet, alarm_clear = AlarmClear }}. -prioritise_cast(Msg, _State) -> +prioritise_cast(Msg, _Len, _State) -> case Msg of {release, _, _} -> 5; _ -> 0 |