Logo
Explore Help
Register Sign In
github/gitea
1
0
Fork 0
You've already forked gitea
mirror of https://github.com/go-gitea/gitea.git synced 2025-10-22 14:26:25 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
8ebf0e68ec2899584cef9cf0674a2c4650c00823
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.24.5 Page: 2603ms Template: 99ms
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