1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 17:14:27 +00:00
gitea/options/locale
zeripath c01221e70f
Queue: Make WorkerPools and Queues flushable (#10001)
* Make WorkerPools and Queues flushable

Adds Flush methods to Queues and the WorkerPool
Further abstracts the WorkerPool
Adds a final step to Flush the queues in the defer from PrintCurrentTest
Fixes an issue with Settings inheritance in queues

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

* Change to for loop

* Add IsEmpty and begin just making the queues composed WorkerPools

* subsume workerpool into the queues and create a flushable interface

* Add manager command

* Move flushall to queue.Manager and add to testlogger

* As per @guillep2k

* as per @guillep2k

* Just make queues all implement flushable and clean up the wrapped queue flushes

* cope with no timeout

Co-authored-by: Lauris BH <lauris@nix.lv>
2020-01-28 20:01:06 -05:00
..
locale_bg-BG.ini [skip ci] Updated translations via Crowdin 2020-01-25 14:50:55 +00:00
locale_cs-CZ.ini [skip ci] Updated translations via Crowdin 2020-01-25 14:50:55 +00:00
locale_de-DE.ini [skip ci] Updated translations via Crowdin 2020-01-25 14:50:55 +00:00
locale_en-US.ini Queue: Make WorkerPools and Queues flushable (#10001) 2020-01-28 20:01:06 -05:00
locale_es-ES.ini [skip ci] Updated translations via Crowdin 2020-01-27 22:38:55 +00:00
locale_fa-IR.ini [skip ci] Updated translations via Crowdin 2020-01-25 14:50:55 +00:00
locale_fi-FI.ini [skip ci] Updated translations via Crowdin 2020-01-25 14:50:55 +00:00
locale_fr-FR.ini [skip ci] Updated translations via Crowdin 2020-01-25 14:50:55 +00:00
locale_hu-HU.ini [skip ci] Updated translations via Crowdin 2020-01-25 14:50:55 +00:00
locale_id-ID.ini [skip ci] Updated translations via Crowdin 2020-01-25 14:50:55 +00:00
locale_it-IT.ini [skip ci] Updated translations via Crowdin 2020-01-25 14:50:55 +00:00
locale_ja-JP.ini [skip ci] Updated translations via Crowdin 2020-01-25 14:50:55 +00:00
locale_ko-KR.ini [skip ci] Updated translations via Crowdin 2020-01-25 14:50:55 +00:00
locale_lv-LV.ini [skip ci] Updated translations via Crowdin 2020-01-25 14:50:55 +00:00
locale_ml-IN.ini [skip ci] Updated translations via Crowdin 2020-01-25 14:50:55 +00:00
locale_nl-NL.ini [skip ci] Updated translations via Crowdin 2020-01-25 14:50:55 +00:00
locale_pl-PL.ini [skip ci] Updated translations via Crowdin 2020-01-25 14:50:55 +00:00
locale_pt-BR.ini [skip ci] Updated translations via Crowdin 2020-01-25 14:50:55 +00:00
locale_ru-RU.ini [skip ci] Updated translations via Crowdin 2020-01-25 14:50:55 +00:00
locale_sr-SP.ini [skip ci] Updated translations via Crowdin 2020-01-25 14:50:55 +00:00
locale_sv-SE.ini [skip ci] Updated translations via Crowdin 2020-01-25 14:50:55 +00:00
locale_tr-TR.ini [skip ci] Updated translations via Crowdin 2020-01-25 14:50:55 +00:00
locale_uk-UA.ini [skip ci] Updated translations via Crowdin 2020-01-25 14:50:55 +00:00
locale_zh-CN.ini [skip ci] Updated translations via Crowdin 2020-01-25 14:50:55 +00:00
locale_zh-HK.ini [skip ci] Updated translations via Crowdin 2020-01-25 14:50:55 +00:00
locale_zh-TW.ini [skip ci] Updated translations via Crowdin 2020-01-25 14:50:55 +00:00
TRANSLATORS Add @yasarciv67 to TRANSLATORS file (#8451) 2019-10-10 15:47:38 +02:00