diff options
| author | Alvaro Videla <videlalvaro@gmail.com> | 2015-08-27 19:53:16 +0200 |
|---|---|---|
| committer | Alvaro Videla <videlalvaro@gmail.com> | 2015-08-27 19:53:16 +0200 |
| commit | c825578831c37044d26e6b8871f40271955f83db (patch) | |
| tree | 096349222cce31ec7d1b5cb06f1a229c9ebd5736 /src | |
| parent | 20e8f91e8b5b0c3163a2430d8dd6055707b6a90d (diff) | |
| download | rabbitmq-server-git-c825578831c37044d26e6b8871f40271955f83db.tar.gz | |
improves comment
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_variable_queue.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rabbit_variable_queue.erl b/src/rabbit_variable_queue.erl index 54f04fd6f4..9f5e881168 100644 --- a/src/rabbit_variable_queue.erl +++ b/src/rabbit_variable_queue.erl @@ -1371,7 +1371,9 @@ maybe_write_msg_to_disk(_Force, MsgStatus, State) -> %% Due to certain optimizations made inside %% rabbit_queue_index:pre_publish/6 we need to have two separate %% functions for index persistence. This one is only used when paging -%% during memory pressure. +%% during memory pressure. We didn't want to modify +%% maybe_write_index_to_disk/3 because that function is used in other +%% places. maybe_batch_write_index_to_disk(_Force, MsgStatus = #msg_status { index_on_disk = true }, State) -> |
