0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-24 23:06:09 -05:00
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>
2021-08-30 00:27:51 -04:00
..
analyze
auth Add bundle download for repository (#14538) 2021-08-24 11:47:09 -05:00
avatar
base
cache Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
charset
context [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
convert Add migrate from OneDev (#16356) 2021-08-22 00:47:45 +02:00
cron
csv Fixes #16557 - duplicate csv import (#16631) 2021-08-05 17:56:11 +01:00
doctor
emoji
eventsource Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
generate
git Prevent NPE on empty commit (#16812) 2021-08-24 19:33:23 -04:00
gitgraph
graceful Add bundle download for repository (#14538) 2021-08-24 11:47:09 -05:00
hcaptcha
highlight Just use a slice when rendering file (#16774) 2021-08-23 22:23:39 +01:00
httpcache
httplib Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
indexer Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
json Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
lfs Add bundle download for repository (#14538) 2021-08-24 11:47:09 -05:00
log Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
markup In Render tolerate not being passed a context (#16842) 2021-08-28 21:15:56 +01:00
matchlist
metrics Separate open and closed issue in metrics (#16637) 2021-08-07 12:43:50 +03:00
migrations Add migrate from OneDev (#16356) 2021-08-22 00:47:45 +02:00
nosql
notification Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
options Add bundle download for repository (#14538) 2021-08-24 11:47:09 -05:00
password
pprof
private Fix spelling of HookProcReceiveResult (#16690) 2021-08-14 13:17:10 +02:00
process
proxy Return nil proxy function if proxy not enabled (#16742) 2021-08-19 16:41:20 -04:00
public Add bundle download for repository (#14538) 2021-08-24 11:47:09 -05:00
queue Timeout on flush in testing (#16864) 2021-08-30 00:27:51 -04:00
recaptcha Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
references
repofiles Simplify split diff view generation and remove JS dependency (#16775) 2021-08-29 15:28:04 +01:00
repository Refactor the fork service slightly to take ForkRepoOptions (#16744) 2021-08-28 16:37:14 +08:00
secret
session Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
setting Paginate releases page & set default page size to 10 (#16857) 2021-08-29 18:25:16 +02:00
ssh
storage Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
structs Add migrate from OneDev (#16356) 2021-08-22 00:47:45 +02:00
svg Add bundle download for repository (#14538) 2021-08-24 11:47:09 -05:00
sync
task Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
templates Report the correct number of pushes on the feeds (#16811) 2021-08-25 19:04:58 -04:00
test
timeutil
translation
typesniffer
upload
uri
user
util Handle too long PR titles correctly (#16517) 2021-07-25 03:59:27 +01:00
validation
web