I'm not sure if this is documented somewhere. If it is it's very well hidden.
I went down a massive rabbit hole of trying to get middleware working. After tracing down 100s of lines of code across 5 files I tested playing around with the config values and found that the option, numberOfApiCallRetries, when added to the config causes middleware to not work, at all.
I also tried with the limiterOptions but there's no problem there.
This is related to the same problem reported here #671 last year, just that the OP is not using that retries option.
I'm not sure if this is documented somewhere. If it is it's very well hidden.
I went down a massive rabbit hole of trying to get middleware working. After tracing down 100s of lines of code across 5 files I tested playing around with the config values and found that the option,
numberOfApiCallRetries, when added to the config causes middleware to not work, at all.I also tried with the
limiterOptionsbut there's no problem there.This is related to the same problem reported here #671 last year, just that the OP is not using that retries option.