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 62eb1b0f25 Graceful Queues: Issue Indexing and Tasks (#9363)
* Queue: Add generic graceful queues with settings

* Queue & Setting: Add worker pool implementation

* Queue: Add worker settings

* Queue: Make resizing worker pools

* Queue: Add name variable to queues

* Queue: Add monitoring

* Queue: Improve logging

* Issues: Gracefulise the issues indexer

Remove the old now unused specific queues

* Task: Move to generic queue and gracefulise

* Issues: Standardise the issues indexer queue settings

* Fix test

* Queue: Allow Redis to connect to unix

* Prevent deadlock during early shutdown of issue indexer

* Add MaxWorker settings to queues

* Merge branch 'master' into graceful-queues

* Update modules/indexer/issues/indexer.go

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>

* Update modules/indexer/issues/indexer.go

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>

* Update modules/queue/queue_channel.go

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>

* Update modules/queue/queue_disk.go

* Update modules/queue/queue_disk_channel.go

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>

* Rename queue.Description to queue.ManagedQueue as per @guillep2k

* Cancel pool workers when removed

* Remove dependency on queue from setting

* Update modules/queue/queue_redis.go

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>

* As per @guillep2k add mutex locks on shutdown/terminate

* move unlocking out of setInternal

* Add warning if number of workers < 0

* Small changes as per @guillep2k

* No redis host specified not found

* Clean up documentation for queues

* Update docs/content/doc/advanced/config-cheat-sheet.en-us.md

* Update modules/indexer/issues/indexer_test.go

* Ensure that persistable channel queue is added to manager

* Rename QUEUE_NAME REDIS_QUEUE_NAME

* Revert "Rename QUEUE_NAME REDIS_QUEUE_NAME"

This reverts commit 1f83b4fc9b9dabda186257b38c265fe7012f90df.

Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <matti@mdranta.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
5 years ago
..
auth Add branch protection option to block merge on requested changes. (#9592) 5 years ago
avatar Improve handling of non-square avatars (#7025) 5 years ago
base Use gitea forked macaron (#7933) 5 years ago
cache Use gitea forked macaron (#7933) 5 years ago
charset deps: update and fix chardet import (#9351) 5 years ago
context Use Req.URL.RequestURI() to cope with FCGI urls (#9473) 5 years ago
convert [Bug] [API] Add language to user api (#9215) 5 years ago
cron Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 5 years ago
generate Integrate OAuth2 Provider (#5378) 5 years ago
git Provide Default messages for merges (#9393) 5 years ago
gitgraph Move git graph from models to modules/graph (#9027) 5 years ago
graceful Fix missed change to GetManager() (#9361) 5 years ago
highlight Add a lot of extension to language mappings for syntax highlights (#7741) 5 years ago
httplib Add golangci (#6418) 5 years ago
indexer Graceful Queues: Issue Indexing and Tasks (#9363) 5 years ago
lfs Make repository management section handle lfs locks (#8726) 5 years ago
log Log: Ensure FLAGS=none is -1 (#9287) 5 years ago
markup Change markdown rendering from blackfriday to goldmark (#9533) 5 years ago
metrics Prometheus endpoint (#5256) 6 years ago
migrations Use OriginalURL insead of CloneAddr in migration logging (#9418) 5 years ago
notification Some more e-mail notification fixes (#9596) 5 years ago
options Use gitea forked macaron (#7933) 5 years ago
password Add password requirement info on error (#9074) 5 years ago
pprof Add golangci (#6418) 5 years ago
private Batch hook pre- and post-receive calls (#8602) 5 years ago
process Graceful: Cancel Process on monitor pages & HammerTime (#9213) 5 years ago
public Use gitea forked macaron (#7933) 5 years ago
queue Graceful Queues: Issue Indexing and Tasks (#9363) 5 years ago
recaptcha fixed reCAPTCHA URL (#9083) 5 years ago
references Change markdown rendering from blackfriday to goldmark (#9533) 5 years ago
repofiles Fix deleted branch isn't removed when push the branch again (#9516) 5 years ago
repository Batch hook pre- and post-receive calls (#8602) 5 years ago
secret Integrate OAuth2 Provider (#5378) 5 years ago
session Use gitea forked macaron (#7933) 5 years ago
setting Graceful Queues: Issue Indexing and Tasks (#9363) 5 years ago
ssh Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 5 years ago
structs [API] Fix 9544 | return 200 when reaction already exist (#9550) 5 years ago
sync Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 5 years ago
task Graceful Queues: Issue Indexing and Tasks (#9363) 5 years ago
templates Fix repository issues pagination bug when there are more than one label filter (#9512) 5 years ago
test Add Close() method to gogitRepository (#8901) 5 years ago
timeutil Use gitea forked macaron (#7933) 5 years ago
upload Fix upload file type check (#7890) 5 years ago
user Add golangci (#6418) 5 years ago
util Convert EOL to UNIX-style to render MD properly (#8925) 5 years ago
validation Implement webhook branch filter (#7791) 5 years ago
webhook Only show sender if it makes sense (#9601) 5 years ago