Logo
Explore Help
Sign In
ddmt/gitdts
1
0
Fork 0
You've already forked gitdts
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
0c7bf6801f240c2831f7dffdaa34a22a0344da0b
gitdts/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: 3221ms Template: 64ms
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