diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_mirror_queue_slave.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_mirror_queue_slave.erl b/src/rabbit_mirror_queue_slave.erl index 472eff478e..f30264e110 100644 --- a/src/rabbit_mirror_queue_slave.erl +++ b/src/rabbit_mirror_queue_slave.erl @@ -857,8 +857,8 @@ process_instruction({depth, Depth}, backing_queue = BQ, backing_queue_state = BQS }) -> D1 = case D of - undefinded -> 1; %% anything but 0 will do here - _ -> D + undefined -> 1; %% anything but 0 will do here + _ -> D end, {ok, set_synchronised(Depth - BQ:depth(BQS) - D1, State #state { depth_delta = D1 })}; |
