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