You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/modules
zeripath 713985b1a4
Prevent deadlocks in persistable channel pause test (#18410)
* Prevent deadlocks in persistable channel pause test

Because of reuse of the old paused/resumed channels in this test there
was a potential for deadlock. This PR ensures that the channels are always
reobtained.

It further adds some control code to detect hangs in future - and it
ensures that the pausing warning is not shown on shutdown.

Signed-off-by: Andrew Thornton <art27@cantab.net>

* do not warn but do pause

Signed-off-by: Andrew Thornton <art27@cantab.net>
2 years ago
..
activitypub format with gofumpt (#18184) 2 years ago
analyze Use git attributes to determine generated and vendored status for language stats and diffs (#16773) 3 years ago
appstate format with gofumpt (#18184) 2 years ago
auth format with gofumpt (#18184) 2 years ago
avatar format with gofumpt (#18184) 2 years ago
base format with gofumpt (#18184) 2 years ago
cache format with gofumpt (#18184) 2 years ago
charset format with gofumpt (#18184) 2 years ago
context Disable content sniffing on `PlainTextBytes` (#18359) 2 years ago
convert API: Return primary language and repository language stats API URL (#18396) 2 years ago
csv format with gofumpt (#18184) 2 years ago
doctor format with gofumpt (#18184) 2 years ago
emoji format with gofumpt (#18184) 2 years ago
eventsource Simplify parameter types (#18006) 3 years ago
generate Support webauthn (#17957) 2 years ago
git Unexport git.GlobalCommandArgs (#18376) 2 years ago
gitgraph format with gofumpt (#18184) 2 years ago
graceful format with gofumpt (#18184) 2 years ago
hcaptcha hCaptcha Support (#12594) 4 years ago
highlight format with gofumpt (#18184) 2 years ago
hostmatcher Simplify parameter types (#18006) 3 years ago
httpcache format with gofumpt (#18184) 2 years ago
httplib refactor httplib (#18338) 2 years ago
indexer Pause queues (#15928) 2 years ago
json Make gitea, gitea-vet future-proof (#18361) 2 years ago
lfs format with gofumpt (#18184) 2 years ago
log format with gofumpt (#18184) 2 years ago
markup format with gofumpt (#18184) 2 years ago
metrics format with gofumpt (#18184) 2 years ago
migration format with gofumpt (#18184) 2 years ago
nosql format with gofumpt (#18184) 2 years ago
notification Pause queues (#15928) 2 years ago
options format with gofumpt (#18184) 2 years ago
password Fixed assert statements. (#16089) 3 years ago
pprof refactor: move from io/ioutil to io and os package (#17109) 3 years ago
private format with gofumpt (#18184) 2 years ago
process format with gofumpt (#18184) 2 years ago
proxy Return nil proxy function if proxy not enabled (#16742) 3 years ago
public Fix mime-type detection for HTTP server (#18370) 2 years ago
queue Prevent deadlocks in persistable channel pause test (#18410) 2 years ago
recaptcha refactor: move from io/ioutil to io and os package (#17109) 3 years ago
references format with gofumpt (#18184) 2 years ago
repository format with gofumpt (#18184) 2 years ago
secret Simplify parameter types (#18006) 3 years ago
session format with gofumpt (#18184) 2 years ago
setting Add packagist webhook (#18224) 2 years ago
ssh format with gofumpt (#18184) 2 years ago
storage format with gofumpt (#18184) 2 years ago
structs API: Return primary language and repository language stats API URL (#18396) 2 years ago
svg refactor: move from io/ioutil to io and os package (#17109) 3 years ago
sync Fix missing unlock in uniquequeue (#9790) 5 years ago
templates format with gofumpt (#18184) 2 years ago
test format with gofumpt (#18184) 2 years ago
timeutil format with gofumpt (#18184) 2 years ago
translation Sort locales according to their names (#18211) 3 years ago
typesniffer format with gofumpt (#18184) 2 years ago
updatechecker format with gofumpt (#18184) 2 years ago
upload Simplify parameter types (#18006) 3 years ago
uri Prevent NPE if gitea uploader fails to open url (#18080) 3 years ago
user Add gitea-vet (#10948) 4 years ago
util format with gofumpt (#18184) 2 years ago
validation format with gofumpt (#18184) 2 years ago
web Fix route wrap (#18360) 2 years ago