gitea/options/locale
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 1f83b4fc9b.

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>
2020-01-07 12:23:09 +01:00
..
TRANSLATORS Add @yasarciv67 to TRANSLATORS file (#8451) 2019-10-10 15:47:38 +02:00
locale_bg-BG.ini [skip ci] Updated translations via Crowdin 2019-12-16 15:57:59 +00:00
locale_cs-CZ.ini [skip ci] Updated translations via Crowdin 2019-12-16 15:57:59 +00:00
locale_de-DE.ini [skip ci] Updated translations via Crowdin 2020-01-07 07:40:50 +00:00
locale_en-US.ini Graceful Queues: Issue Indexing and Tasks (#9363) 2020-01-07 12:23:09 +01:00
locale_es-ES.ini [skip ci] Updated translations via Crowdin 2019-12-16 15:57:59 +00:00
locale_fa-IR.ini [skip ci] Updated translations via Crowdin 2019-12-28 23:35:29 +00:00
locale_fi-FI.ini [skip ci] Updated translations via Crowdin 2019-12-16 15:57:59 +00:00
locale_fr-FR.ini [skip ci] Updated translations via Crowdin 2020-01-07 07:40:50 +00:00
locale_hu-HU.ini [skip ci] Updated translations via Crowdin 2019-12-16 15:57:59 +00:00
locale_id-ID.ini [skip ci] Updated translations via Crowdin 2019-12-16 15:57:59 +00:00
locale_it-IT.ini [skip ci] Updated translations via Crowdin 2019-12-16 15:57:59 +00:00
locale_ja-JP.ini [skip ci] Updated translations via Crowdin 2020-01-07 07:40:50 +00:00
locale_ko-KR.ini [skip ci] Updated translations via Crowdin 2020-01-04 22:21:24 +00:00
locale_lt-LT.ini [skip ci] Updated translations via Crowdin 2019-11-23 15:05:14 +00:00
locale_lv-LV.ini [skip ci] Updated translations via Crowdin 2020-01-04 22:21:24 +00:00
locale_ml-IN.ini [skip ci] Updated translations via Crowdin 2020-01-04 22:21:24 +00:00
locale_nb-NO.ini [skip ci] Updated translations via Crowdin 2019-11-23 15:05:14 +00:00
locale_nl-NL.ini [skip ci] Updated translations via Crowdin 2019-12-16 15:57:59 +00:00
locale_nn-NO.ini [skip ci] Updated translations via Crowdin 2019-11-23 15:05:14 +00:00
locale_no-NO.ini [skip ci] Updated translations via Crowdin 2019-11-23 15:05:14 +00:00
locale_pl-PL.ini [skip ci] Updated translations via Crowdin 2020-01-04 22:21:24 +00:00
locale_pt-BR.ini [skip ci] Updated translations via Crowdin 2020-01-05 14:30:20 +00:00
locale_ru-RU.ini [skip ci] Updated translations via Crowdin 2020-01-04 22:21:24 +00:00
locale_ru-UA.ini [skip ci] Updated translations via Crowdin 2018-05-19 14:58:24 +00:00
locale_sr-SP.ini [skip ci] Updated translations via Crowdin 2019-12-16 15:57:59 +00:00
locale_sv-SE.ini [skip ci] Updated translations via Crowdin 2019-12-16 15:57:59 +00:00
locale_tr-TR.ini [skip ci] Updated translations via Crowdin 2020-01-04 22:21:24 +00:00
locale_uk-UA.ini [skip ci] Updated translations via Crowdin 2020-01-04 22:21:24 +00:00
locale_vi-VN.ini [skip ci] Updated translations via Crowdin 2019-11-23 15:05:14 +00:00
locale_zh-CN.ini [skip ci] Updated translations via Crowdin 2020-01-06 16:52:05 +00:00
locale_zh-HK.ini [skip ci] Updated translations via Crowdin 2019-12-16 15:57:59 +00:00
locale_zh-TW.ini [skip ci] Updated translations via Crowdin 2019-12-16 15:57:59 +00:00