Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

infer panic in queue/unique_queue_disk_channel.go #16071

Closed
lunny opened this issue Jun 5, 2021 · 0 comments · Fixed by #16072
Closed

infer panic in queue/unique_queue_disk_channel.go #16071

lunny opened this issue Jun 5, 2021 · 0 comments · Fixed by #16072
Labels

Comments

@lunny
Copy link
Member

lunny commented Jun 5, 2021

panic: interface conversion: queue.Queue is *queue.LevelUniqueQueue, not *queue.LevelQueue

goroutine 222 [running]:
code.gitea.io/gitea/modules/queue.(*PersistableChannelUniqueQueue).Run.func4(0xc002c487e0)
        /home/lunny/shares/data/Projects/gitea/gitea/modules/queue/unique_queue_disk_channel.go:191 +0x24d
created by code.gitea.io/gitea/modules/queue.(*PersistableChannelUniqueQueue).Run
        /home/lunny/shares/data/Projects/gitea/gitea/modules/queue/unique_queue_disk_channel.go:189 +0x290
@lunny lunny added the type/bug label Jun 5, 2021
zeripath added a commit to zeripath/gitea that referenced this issue Jun 5, 2021
There is an incorrect casting in the wrapped queue.

Fix go-gitea#16071

Signed-off-by: Andrew Thornton <[email protected]>
zeripath added a commit that referenced this issue Jun 5, 2021
There is an incorrect casting in the wrapped queue.

Fix #16071

Signed-off-by: Andrew Thornton <[email protected]>
AbdulrhmnGhanem pushed a commit to kitspace/gitea that referenced this issue Aug 10, 2021
There is an incorrect casting in the wrapped queue.

Fix go-gitea#16071

Signed-off-by: Andrew Thornton <[email protected]>
@go-gitea go-gitea locked and limited conversation to collaborators Oct 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant