Logo
Explore Help
Register Sign In
Lerking/gitea
1
0
Fork 0
You've already forked gitea
mirror of https://github.com/go-gitea/gitea.git synced 2026-01-09 22:04:14 +01:00
Code Issues Actions 3 Packages Projects Releases Wiki Activity
Files
580401ecbfee0f3911532b19ac2c2c9f4875393f
gitea/modules/queue
History
zeripath 382101ecc7 In disk_channel queues synchronously push to disk on shutdown (#18415) (#18788)
Partial Backport of #18415

Instead of using an asynchronous goroutine to push to disk on shutdown
just close the datachan and immediately push to the disk.

Prevents messages of incompletely flushed queues.

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-02-22 20:08:35 +08:00
..
bytefifo.go
…
helper.go
…
manager.go
…
queue_bytefifo.go
In disk_channel queues synchronously push to disk on shutdown (#18415) (#18788)
2022-02-22 20:08:35 +08:00
queue_channel_test.go
…
queue_channel.go
…
queue_disk_channel_test.go
In disk_channel queues synchronously push to disk on shutdown (#18415) (#18788)
2022-02-22 20:08:35 +08:00
queue_disk_channel.go
In disk_channel queues synchronously push to disk on shutdown (#18415) (#18788)
2022-02-22 20:08:35 +08:00
queue_disk_test.go
…
queue_disk.go
…
queue_redis.go
…
queue_test.go
…
queue_wrapped.go
…
queue.go
…
setting.go
…
unique_queue_channel.go
…
unique_queue_disk_channel.go
In disk_channel queues synchronously push to disk on shutdown (#18415) (#18788)
2022-02-22 20:08:35 +08:00
unique_queue_disk.go
…
unique_queue_redis.go
…
unique_queue_wrapped.go
…
unique_queue.go
…
workerpool.go
Restart zero worker if there is still work to do (#18658) (#18672)
2022-02-08 23:28:21 +02:00
Powered by Gitea Version: 1.25.3 Page: 2205ms Template: 494ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API