This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/modules/queue
Gusted 1465e0cbb2
Fix 64-bit atomic operations on 32-bit machines (#19531) (#19532)
- Backport #19531
  - Doing 64-bit atomic operations on 32-bit machines is a bit tricky by golang, as they can only be done under certain set of conditions(https://pkg.go.dev/sync/atomic#pkg-note-BUG).
  - This PR fixes such case whereby the conditions weren't met, it moves the int64 to the first field of the struct, which will 64-bit operations happening on this property on 32-bit machines.
  - Resolves #19518
2022-04-27 10:32:28 -05:00
..
bytefifo.go
helper.go Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
manager.go Only attempt to flush queue if the underlying worker pool is not finished (#18593) (#18620) 2022-02-06 14:55:44 +08:00
queue.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.go
queue_channel_test.go
queue_disk.go
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_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_test.go A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
queue_redis.go
queue_test.go Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
queue_wrapped.go
setting.go Use immediate queues in integration tests and ensure that immediate (#16927) 2021-09-03 11:20:57 +01:00
unique_queue.go
unique_queue_channel.go Make the Mirror Queue a queue (#17326) 2021-10-17 12:43:25 +01:00
unique_queue_disk.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_redis.go
unique_queue_wrapped.go
workerpool.go Fix 64-bit atomic operations on 32-bit machines (#19531) (#19532) 2022-04-27 10:32:28 -05:00