Resolves: riak_pipe_fitting.erl:571: The variable QLimit can never match since previous clauses completely covered the type pos_integer() Ignore warning; just because the record is specified this way, it's exported, so we need to handle the case where the user constructs an invalid record and warn on it.
The logic before and after this commit should be exactly the same, but dialyzer reports the following for the `if` version: "riak_pipe_builder.erl:206: Clause guard cannot succeed." three out of four developers prefer the `case` version anyway
this resolves a dialyzer error, and also makes it clearer what uses the monitor
This removes the use of types not exported from 'supervisor' while also making the return value match the name of the function.