reactor.core.Exceptions$OverflowException: Could not emit tick 1 due to lack of requests (interval doesn't support small downstream requests that replenish slower than the ticks)


reactor.core.Exceptions$OverflowException: Could not emit tick 1 due to lack of requests (interval doesn't support small downstream requests that replenish slower than the ticks)

这个问我呢提出现在设定Duration.ofMillis(1000)时间时,将1000改为了10,
而最低设定就为1000 不能再小了

    @GetMapping("/sse")
    public Flux<String> sse(){
        return Flux.interval(Duration.ofMillis(1000)).map(val -> " ->" +val);
    }


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM