plugins/retry/index.js
Function retryOnError
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function retryOnError(fn, retries, computeDelay) {
return (msg) => {
const count = context.count(msg.properties.headers);
if ('x-retry-limit' in msg.properties.headers) {