forgejo-federation/modules/queue
zeripath 92b715e0f2
Attempt to prevent the deadlock in the QueueDiskChannel Test again (#18415)
* Attempt to prevent the deadlock in the QueueDiskChannel Test again

This time we're going to adjust the pause tests to only test the right
flag.

* Only switch off pushback once we know that we are not pushing anything else
* Ensure full redirection occurs
* More nicely handle a closed datachan
* And handle similar problems in queue_channel_test

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-01-29 11:37:08 +00:00
..
bytefifo.go Pause queues (#15928) 2022-01-22 21:22:14 +00:00
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 Pause queues (#15928) 2022-01-22 21:22:14 +00:00
queue.go Make WrappedQueues and PersistableChannelUniqueQueues Pausable (#18393) 2022-01-24 22:54:35 +00:00
queue_bytefifo.go Attempt to prevent the deadlock in the QueueDiskChannel Test again (#18415) 2022-01-29 11:37:08 +00:00
queue_channel.go Attempt to prevent the deadlock in the QueueDiskChannel Test again (#18415) 2022-01-29 11:37:08 +00:00
queue_channel_test.go Attempt to prevent the deadlock in the QueueDiskChannel Test again (#18415) 2022-01-29 11:37:08 +00:00
queue_disk.go Pause queues (#15928) 2022-01-22 21:22:14 +00:00
queue_disk_channel.go Attempt to prevent the deadlock in the QueueDiskChannel Test again (#18415) 2022-01-29 11:37:08 +00:00
queue_disk_channel_test.go Attempt to prevent the deadlock in the QueueDiskChannel Test again (#18415) 2022-01-29 11:37:08 +00:00
queue_disk_test.go Pause queues (#15928) 2022-01-22 21:22:14 +00:00
queue_redis.go Pause queues (#15928) 2022-01-22 21:22:14 +00:00
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 Make WrappedQueues and PersistableChannelUniqueQueues Pausable (#18393) 2022-01-24 22:54:35 +00:00
setting.go Make WrappedQueues and PersistableChannelUniqueQueues Pausable (#18393) 2022-01-24 22:54:35 +00:00
unique_queue.go Add Unique Queue infrastructure and move TestPullRequests to this (#9856) 2020-02-02 23:19:58 +00:00
unique_queue_channel.go Attempt to prevent the deadlock in the QueueDiskChannel Test again (#18415) 2022-01-29 11:37:08 +00:00
unique_queue_channel_test.go Pause queues (#15928) 2022-01-22 21:22:14 +00:00
unique_queue_disk.go Pause queues (#15928) 2022-01-22 21:22:14 +00:00
unique_queue_disk_channel.go Attempt to prevent the deadlock in the QueueDiskChannel Test again (#18415) 2022-01-29 11:37:08 +00:00
unique_queue_redis.go Pause queues (#15928) 2022-01-22 21:22:14 +00:00
unique_queue_wrapped.go Make WrappedQueues and PersistableChannelUniqueQueues Pausable (#18393) 2022-01-24 22:54:35 +00:00
workerpool.go Prevent deadlocks in persistable channel pause test (#18410) 2022-01-26 01:09:57 +02:00