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.
gitea/services
zeripath 38fc6c75f3
Restart zero worker if there is still work to do (#18658) (#18672)
* Restart zero worker if there is still work to do (#18658)

Backport #18658

It is possible for the zero worker to timeout before all the work is finished.
This may mean that work may take a long time to complete because a worker will only
be induced on repushing.

Also ensure that requested count is reset after pulls and push mirror sync requests and add some more trace logging to the queue push.

Fix #18607

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

* Update modules/queue/workerpool.go
3 years ago
..
agit Fix various typos (#18219) 3 years ago
asymkey Refactor auth package (#17962) 3 years ago
attachment Simplify parameter types (#18006) 3 years ago
auth Use `ImagedProvider` for gplus oauth2 provider (#18504) (#18505) 3 years ago
comments Move repository model into models/repo (#17933) 3 years ago
cron Some repository refactors (#17950) 3 years ago
externalaccount Refactor auth package (#17962) 3 years ago
forms Support webauthn (#17957) 3 years ago
gitdiff Fix various typos (#18219) 3 years ago
issue Restore propagation of ErrDependenciesLeft (#18325) 3 years ago
lfs Support webauthn (#17957) 3 years ago
mailer Prevent merge messages from being sorted to the top of email chains (#18566) (#18588) 3 years ago
migrations GitLab reviews may not have the updated_at field set (#18450) (#18461) 3 years ago
mirror Restart zero worker if there is still work to do (#18658) (#18672) 3 years ago
org Move repository model into models/repo (#17933) 3 years ago
pull Detect conflicts with 3way merge (#18536) (#18537) 3 years ago
release Set HeadCommit when creating tags. (#18116) 3 years ago
repository Stop trimming preceding and suffixing spaces from editor filenames (#18334) 3 years ago
task Some repository refactors (#17950) 3 years ago
user Move keys to models/asymkey (#17917) 3 years ago
webhook Add replay of webhooks. (#18191) 3 years ago
wiki Fix various typos (#18219) 3 years ago