0
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-19 01:00:19 +01:00
forgejo/modules
zeripath 27e49cd01c
Properly flush unique queues on startup ()
There have been a number of reports of PRs being blocked whilst being
checked which have been difficult to debug. In investigating  I
have realised that whilst the Warn there is somewhat of a miscall there
was a real bug in the way that the LevelUniqueQueue was being restored
on start-up of the PersistableChannelUniqueQueue.

Next there is a conflict in the setting of the internal leveldb queue
name - This wasn't being set so it was being overridden by other unique
queues.

This PR fixes these bugs and adds a testcase.

Thanks to @brechtvl  for noticing the second issue.

Fix 
and others

---------

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2023-02-28 17:55:43 -05:00
..
actions
activitypub
analyze
auth Use minio/sha256-simd for accelerated SHA256 () 2023-02-22 14:21:46 -05:00
avatar Use minio/sha256-simd for accelerated SHA256 () 2023-02-22 14:21:46 -05:00
base Use minio/sha256-simd for accelerated SHA256 () 2023-02-22 14:21:46 -05:00
cache Add context cache as a request level cache () 2023-02-15 21:37:34 +08:00
charset
container
context Use minio/sha256-simd for accelerated SHA256 () 2023-02-22 14:21:46 -05:00
csv
doctor Refactor the setting to make unit test easier () 2023-02-20 00:12:01 +08:00
emoji
eventsource
generate
git Pass --global when calling git config --get, for consistency with git config --set () 2023-02-28 15:26:19 -06:00
gitgraph Add context cache as a request level cache () 2023-02-15 21:37:34 +08:00
graceful
hcaptcha
highlight Refactor the setting to make unit test easier () 2023-02-20 00:12:01 +08:00
hostmatcher
html
httpcache
httplib
indexer Refactor the setting to make unit test easier () 2023-02-20 00:12:01 +08:00
issue/template
json
lfs Use minio/sha256-simd for accelerated SHA256 () 2023-02-22 14:21:46 -05:00
log
markup Refactor the setting to make unit test easier () 2023-02-20 00:12:01 +08:00
mcaptcha
metrics
migration Scoped labels () 2023-02-18 21:17:39 +02:00
mirror
nosql
notification
options
packages
paginator
pprof
private
process
proxy Use proxy for pull mirror () 2023-02-11 08:39:50 +08:00
proxyprotocol
public
queue Properly flush unique queues on startup () 2023-02-28 17:55:43 -05:00
recaptcha
references
regexplru
repository Avoid warning for system setting when start up () 2023-02-24 18:23:13 +08:00
secret Use minio/sha256-simd for accelerated SHA256 () 2023-02-22 14:21:46 -05:00
session
setting Add InsecureSkipVerify to Minio Client for Storage () 2023-02-27 16:26:13 +00:00
sitemap
ssh
storage Add InsecureSkipVerify to Minio Client for Storage () 2023-02-27 16:26:13 +00:00
structs Add scopes to API to create token and display them () 2023-02-20 15:28:44 -06:00
svg
sync
system
templates Avoid warning for system setting when start up () 2023-02-24 18:23:13 +08:00
test Rename repo.GetOwner to repo.LoadOwner () 2023-02-18 20:11:03 +08:00
timeutil
translation
turnstile
typesniffer
updatechecker
upload
uri
user
util Use minio/sha256-simd for accelerated SHA256 () 2023-02-22 14:21:46 -05:00
validation
watcher
web
webhook