diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2014-08-11 15:58:41 +0100 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2014-08-11 15:58:41 +0100 |
| commit | 7be6da64c0ed99f344f046654f104f42122dbb65 (patch) | |
| tree | 59d6592e9160ba318f8eb2ebc25061fbb92f9c10 /codegen.py | |
| parent | e6892bfed3e71c449d05d25623a2ef595b04c4fa (diff) | |
| download | rabbitmq-server-git-7be6da64c0ed99f344f046654f104f42122dbb65.tar.gz | |
Simplify maintenance of persistent_count on ack and purge:
* Don't parameterise remove_queue_entries/5 with a fold function, there's
only one call site.
* Get remove_queue_entries/4 / purge_betas_and_deltas/3 to update persistent
count directly, not removed counts by store.
* Update persistent count in one place in remove_pending_ack/2, not many
places in ack/2.
* Remove a couple of no-longer needed helpers.
Diffstat (limited to 'codegen.py')
0 files changed, 0 insertions, 0 deletions
