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 06b9d553bc
Timeout on flush in testing (#16864)
* Timeout on flush in testing

At the end of each test the queues are flushed. At present there is no limit on the
length of time a flush can take which can lead to long flushes.

However, if the CI task is cancelled we lose the log information as to where the long
flush was taking place.

This PR simply adds a default time limit of 2 minutes - at which point an error will
be produced. This should allow us to more easily find the culprit.

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

* return better error

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

Co-authored-by: 6543 <6543@obermui.de>
3 years ago
..
analyze Speed up `enry.IsVendor` (#15213) 3 years ago
auth Add bundle download for repository (#14538) 3 years ago
avatar Add Image Diff for SVG files (#14867) 3 years ago
base Fixed assert statements. (#16089) 3 years ago
cache Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
charset Refactor renders (#15175) 3 years ago
context [API] generalize list header (#16551) 3 years ago
convert Add migrate from OneDev (#16356) 3 years ago
cron Refactor: Move login out of models (#16199) 3 years ago
csv Fixes #16557 - duplicate csv import (#16631) 3 years ago
doctor Restore creation of git-daemon-export-ok files (#16508) 3 years ago
emoji Run processors on whole of text (#16155) 3 years ago
eventsource Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
generate switch to maintained lib (#16532) 3 years ago
git Prevent NPE on empty commit (#16812) 3 years ago
gitgraph Fix bug on commit graph (#15517) 3 years ago
graceful Add bundle download for repository (#14538) 3 years ago
hcaptcha hCaptcha Support (#12594) 4 years ago
highlight Just use a slice when rendering file (#16774) 3 years ago
httpcache Add ETag header (#15370) 3 years ago
httplib Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
indexer Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
json Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
lfs Add bundle download for repository (#14538) 3 years ago
log Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
markup In Render tolerate not being passed a context (#16842) 3 years ago
matchlist Add Allow-/Block-List for Migrate & Mirrors (#13610) 4 years ago
metrics Separate open and closed issue in metrics (#16637) 3 years ago
migrations Add migrate from OneDev (#16356) 3 years ago
nosql Fix setting redis db path (#15698) 3 years ago
notification Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
options Add bundle download for repository (#14538) 3 years ago
password Fixed assert statements. (#16089) 3 years ago
pprof Add golangci (#6418) 5 years ago
private Fix spelling of HookProcReceiveResult (#16690) 3 years ago
process Code Formats, Nits & Unused Func/Var deletions (#15286) 3 years ago
proxy Return nil proxy function if proxy not enabled (#16742) 3 years ago
public Add bundle download for repository (#14538) 3 years ago
queue Timeout on flush in testing (#16864) 3 years ago
recaptcha Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
references Fix various documentation, user-facing, and source comment typos (#16367) 3 years ago
repofiles Simplify split diff view generation and remove JS dependency (#16775) 3 years ago
repository Refactor the fork service slightly to take ForkRepoOptions (#16744) 3 years ago
secret Fix various documentation, user-facing, and source comment typos (#16367) 3 years ago
session Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
setting Paginate releases page & set default page size to 10 (#16857) 3 years ago
ssh Second attempt at preventing zombies (#16326) 3 years ago
storage Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
structs Add migrate from OneDev (#16356) 3 years ago
svg Add bundle download for repository (#14538) 3 years ago
sync Fix missing unlock in uniquequeue (#9790) 5 years ago
task Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
templates Report the correct number of pushes on the feeds (#16811) 3 years ago
test Move middlewares to web/middleware (#14480) 3 years ago
timeutil Fix display since time round (#14226) 3 years ago
translation Use index of the supported tags to choose user lang (#15452) 3 years ago
typesniffer Fix various documentation, user-facing, and source comment typos (#16367) 3 years ago
upload Update golangci-lint to version 1.31.0 (#13102) 4 years ago
uri Dump github/gitlab/gitea repository data to a local directory and restore to gitea (#12244) 4 years ago
user Add gitea-vet (#10948) 4 years ago
util Handle too long PR titles correctly (#16517) 3 years ago
validation Fix various documentation, user-facing, and source comment typos (#16367) 3 years ago
web Restore CORS on git smart http protocol (#16496) 3 years ago