diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_channel.erl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl index 55617abbe8..a8db5b3f64 100644 --- a/src/rabbit_channel.erl +++ b/src/rabbit_channel.erl @@ -428,6 +428,11 @@ handle_method(#'basic.qos'{global = true}, _, _State) -> rabbit_misc:protocol_error(not_implemented, "Global flag for basic.qos not implementented"); +handle_method(#'basic.qos'{prefetch_size = Size}, + _, _State) when Size /= 0 -> + rabbit_misc:protocol_error(not_implemented, + "Pre-fetch size for basic.qos not implementented"); + handle_method(#'basic.qos'{prefetch_count = PrefetchCount}, _, State = #ch{limiter = Limiter}) -> rabbit_limiter:set_prefetch_count(Limiter, PrefetchCount), |
