mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-15 14:08:21 +00:00
b5383590de
- 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 |
||
---|---|---|
.. | ||
bytefifo.go | ||
helper.go | ||
manager.go | ||
queue.go | ||
queue_bytefifo.go | ||
queue_channel.go | ||
queue_channel_test.go | ||
queue_disk.go | ||
queue_disk_channel.go | ||
queue_disk_channel_test.go | ||
queue_disk_test.go | ||
queue_redis.go | ||
queue_test.go | ||
queue_wrapped.go | ||
setting.go | ||
unique_queue.go | ||
unique_queue_channel.go | ||
unique_queue_channel_test.go | ||
unique_queue_disk.go | ||
unique_queue_disk_channel.go | ||
unique_queue_redis.go | ||
unique_queue_wrapped.go | ||
workerpool.go |