gitea/modules/queue
Gusted b5383590de
Fix 64-bit atomic operations on 32-bit machines ()
- 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 
..
bytefifo.go Pause queues ()
helper.go Add an abstract json layout to make it's easier to change json library ()
manager.go Add number in queue status to monitor page ()
queue.go Make WrappedQueues and PersistableChannelUniqueQueues Pausable ()
queue_bytefifo.go Add Goroutine stack inspector to admin/monitor ()
queue_channel.go Add Goroutine stack inspector to admin/monitor ()
queue_channel_test.go Prevent intermittent NPE in queue tests ()
queue_disk.go Pause queues ()
queue_disk_channel.go Add Goroutine stack inspector to admin/monitor ()
queue_disk_channel_test.go Prevent intermittent NPE in queue tests ()
queue_disk_test.go Pause queues ()
queue_redis.go Pause queues ()
queue_test.go Add an abstract json layout to make it's easier to change json library ()
queue_wrapped.go Make WrappedQueues and PersistableChannelUniqueQueues Pausable ()
setting.go Make WrappedQueues and PersistableChannelUniqueQueues Pausable ()
unique_queue.go
unique_queue_channel.go Add Goroutine stack inspector to admin/monitor ()
unique_queue_channel_test.go Add Goroutine stack inspector to admin/monitor ()
unique_queue_disk.go Pause queues ()
unique_queue_disk_channel.go Add Goroutine stack inspector to admin/monitor ()
unique_queue_redis.go Pause queues ()
unique_queue_wrapped.go Make WrappedQueues and PersistableChannelUniqueQueues Pausable ()
workerpool.go Fix 64-bit atomic operations on 32-bit machines ()