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/services
zeripath a82fd98d53
Pause queues (#15928)
* Start adding mechanism to return unhandled data

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

* Create pushback interface

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

* Add Pausable interface to WorkerPool and Manager

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

* Implement Pausable and PushBack for the bytefifos

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

* Implement Pausable and Pushback for ChannelQueues and ChannelUniqueQueues

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

* Wire in UI for pausing

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

* add testcases and fix a few issues

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

* fix build

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

* prevent "race" in the test

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

* fix jsoniter mismerge

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

* fix conflicts

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

* fix format

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

* Add warnings for no worker configurations and prevent data-loss with redis/levelqueue

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

* Use StopTimer

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

Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2 years ago
..
agit Propagate context and ensure git commands run in request context (#17868) 2 years ago
asymkey Propagate context and ensure git commands run in request context (#17868) 2 years ago
attachment Simplify parameter types (#18006) 3 years ago
auth Refactor jwt.StandardClaims to RegisteredClaims (#18344) 2 years ago
comments format with gofumpt (#18184) 2 years ago
cron format with gofumpt (#18184) 2 years ago
externalaccount Refactor auth package (#17962) 3 years ago
forms Add config options to hide issue events (#17414) 2 years ago
gitdiff format with gofumpt (#18184) 2 years ago
issue format with gofumpt (#18184) 2 years ago
lfs Refactor jwt.StandardClaims to RegisteredClaims (#18344) 2 years ago
mailer Pause queues (#15928) 2 years ago
migrations format with gofumpt (#18184) 2 years ago
mirror Pause queues (#15928) 2 years ago
org Move repository model into models/repo (#17933) 3 years ago
pull Pause queues (#15928) 2 years ago
release format with gofumpt (#18184) 2 years ago
repository Pause queues (#15928) 2 years ago
task Pause queues (#15928) 2 years ago
user Move keys to models/asymkey (#17917) 3 years ago
webhook format with gofumpt (#18184) 2 years ago
wiki Propagate context and ensure git commands run in request context (#17868) 2 years ago