diff options
| author | Matthew Sackman <matthew@lshift.net> | 2010-01-20 17:31:30 +0000 |
|---|---|---|
| committer | Matthew Sackman <matthew@lshift.net> | 2010-01-20 17:31:30 +0000 |
| commit | 8f6837ef5bd9ba97b7e8513307e9a1b692511c7a (patch) | |
| tree | d57d3f2fb89342506d13426899d471689de4e8f6 /src | |
| parent | 1c0359b36186a67de9b43f99775572b0527d6926 (diff) | |
| download | rabbitmq-server-git-8f6837ef5bd9ba97b7e8513307e9a1b692511c7a.tar.gz | |
Given we know all of those processes are about to be enabled, the order in which we do that is actually irrelevant
Diffstat (limited to 'src')
| -rw-r--r-- | src/file_handle_cache.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_handle_cache.erl b/src/file_handle_cache.erl index 9fb18c3993..144d383109 100644 --- a/src/file_handle_cache.erl +++ b/src/file_handle_cache.erl @@ -737,7 +737,7 @@ process_obtains(State = #fhc_state { limit = Limit, count = Count, ObtainsLen = length(Obtains), Take = ObtainsLen - lists:min([ObtainsLen, Limit - Count]), {ObtainsNew, ObtainableRev} = lists:split(Take, Obtains), - [gen_server:reply(From, ok) || From <- lists:reverse(ObtainableRev)], + [gen_server:reply(From, ok) || From <- ObtainableRev], State #fhc_state { count = Count + Take, obtains = ObtainsNew }. maybe_reduce(State = #fhc_state { limit = Limit, count = Count, |
