forgejo/options/locale
wxiaoguang 58dfaf3a75
Improve queue & process & stacktrace (#24636)
Although some features are mixed together in this PR, this PR is not
that large, and these features are all related.

Actually there are more than 70 lines are for a toy "test queue", so
this PR is quite simple.

Major features:

1. Allow site admin to clear a queue (remove all items in a queue)
* Because there is no transaction, the "unique queue" could be corrupted
in rare cases, that's unfixable.
* eg: the item is in the "set" but not in the "list", so the item would
never be able to be pushed into the queue.
* Now site admin could simply clear the queue, then everything becomes
correct, the lost items could be re-pushed into queue by future
operations.
3. Split the "admin/monitor" to separate pages
4. Allow to download diagnosis report
* In history, there were many users reporting that Gitea queue gets
stuck, or Gitea's CPU is 100%
    * With diagnosis report, maintainers could know what happens clearly

The diagnosis report sample:
[gitea-diagnosis-20230510-192913.zip](https://github.com/go-gitea/gitea/files/11441346/gitea-diagnosis-20230510-192913.zip)
, use "go tool pprof profile.dat" to view the report.


Screenshots:


![image](https://github.com/go-gitea/gitea/assets/2114189/320659b4-2eda-4def-8dc0-5ea08d578063)


![image](https://github.com/go-gitea/gitea/assets/2114189/c5c46fae-9dc0-44ca-8cd3-57beedc5035e)


![image](https://github.com/go-gitea/gitea/assets/2114189/6168a811-42a1-4e64-a263-0617a6c8c4fe)

---------

Co-authored-by: Jason Song <i@wolfogre.com>
Co-authored-by: Giteabot <teabot@gitea.io>
2023-05-11 07:45:47 +00:00
..
locale_cs-CZ.ini [skip ci] Updated translations via Crowdin 2023-05-02 00:23:19 +00:00
locale_de-DE.ini [skip ci] Updated translations via Crowdin 2023-05-02 00:23:19 +00:00
locale_el-GR.ini [skip ci] Updated translations via Crowdin 2023-05-02 00:23:19 +00:00
locale_en-US.ini Improve queue & process & stacktrace (#24636) 2023-05-11 07:45:47 +00:00
locale_es-ES.ini [skip ci] Updated translations via Crowdin 2023-05-02 00:23:19 +00:00
locale_fa-IR.ini [skip ci] Updated translations via Crowdin 2023-04-25 00:07:53 +00:00
locale_fi-FI.ini [skip ci] Updated translations via Crowdin 2023-05-02 00:23:19 +00:00
locale_fr-FR.ini [skip ci] Updated translations via Crowdin 2023-04-25 00:07:53 +00:00
locale_hu-HU.ini [skip ci] Updated translations via Crowdin 2023-04-25 00:07:53 +00:00
locale_id-ID.ini [skip ci] Updated translations via Crowdin 2023-04-25 00:07:53 +00:00
locale_is-IS.ini [skip ci] Updated translations via Crowdin 2023-05-02 00:23:19 +00:00
locale_it-IT.ini [skip ci] Updated translations via Crowdin 2023-05-02 00:23:19 +00:00
locale_ja-JP.ini [skip ci] Updated translations via Crowdin 2023-05-02 00:23:19 +00:00
locale_ko-KR.ini [skip ci] Updated translations via Crowdin 2023-04-27 01:07:47 +00:00
locale_lv-LV.ini [skip ci] Updated translations via Crowdin 2023-05-02 00:23:19 +00:00
locale_nl-NL.ini [skip ci] Updated translations via Crowdin 2023-04-25 00:07:53 +00:00
locale_pl-PL.ini [skip ci] Updated translations via Crowdin 2023-04-25 00:07:53 +00:00
locale_pt-BR.ini [skip ci] Updated translations via Crowdin 2023-05-02 00:23:19 +00:00
locale_pt-PT.ini [skip ci] Updated translations via Crowdin 2023-05-02 00:23:19 +00:00
locale_ru-RU.ini [skip ci] Updated translations via Crowdin 2023-05-09 00:24:20 +00:00
locale_si-LK.ini [skip ci] Updated translations via Crowdin 2023-04-25 00:07:53 +00:00
locale_sk-SK.ini [skip ci] Updated translations via Crowdin 2023-04-25 00:07:53 +00:00
locale_sv-SE.ini [skip ci] Updated translations via Crowdin 2023-04-25 00:07:53 +00:00
locale_tr-TR.ini [skip ci] Updated translations via Crowdin 2023-05-02 00:23:19 +00:00
locale_uk-UA.ini [skip ci] Updated translations via Crowdin 2023-04-25 00:07:53 +00:00
locale_zh-CN.ini [skip ci] Updated translations via Crowdin 2023-05-05 00:22:45 +00:00
locale_zh-HK.ini [skip ci] Updated translations via Crowdin 2023-04-25 00:07:53 +00:00
locale_zh-TW.ini [skip ci] Updated translations via Crowdin 2023-05-02 00:23:19 +00:00
TRANSLATORS Fix missing left and right carets in TRANSLATORS (#21397) 2022-10-10 10:36:37 -04:00