]> source.dussan.org Git - gitea.git/commit
Exponential Backoff for ByteFIFO (#15724)
authorzeripath <art27@cantab.net>
Sat, 8 May 2021 16:29:47 +0000 (17:29 +0100)
committerGitHub <noreply@github.com>
Sat, 8 May 2021 16:29:47 +0000 (17:29 +0100)
commite22ee468cf0e2d751baa859a643453a59f3c7896
tree8afc3929fc498365dd15ac18f17174e6bd1d5422
parent2a9b8d173a286a7155306d7d1df6328d1eb98199
Exponential Backoff for ByteFIFO (#15724)

This PR is another in the vein of queue improvements. It suggests an
exponential backoff for bytefifo queues to reduce the load from queue
polling. This will mostly be useful for redis queues.

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Lauris BH <lauris@nix.lv>
modules/queue/queue_bytefifo.go