mirror of https://github.com/go-gitea/gitea.git
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.
- Currently there's code to recover gracefully from panics that happen within the execution of cron tasks. However this recover code wasn't being run, because `RunWithShutdownContext` also contains code to recover from any panic and then gracefully shutdown Forgejo. Because `RunWithShutdownContext` registers that code as last, that would get run first which in this case is not behavior that we want. - Move the recover code to inside the function, so that is run first before `RunWithShutdownContext`'s recover code (which is now a noop). Fixes: https://codeberg.org/forgejo/forgejo/issues/1910 Co-authored-by: Gusted <postmaster@gusted.xyz> |
1 year ago | |
---|---|---|
.. | ||
actions | 1 year ago | |
agit | 1 year ago | |
asymkey | 1 year ago | |
attachment | 2 years ago | |
auth | 1 year ago | |
automerge | 2 years ago | |
context | 2 years ago | |
convert | 1 year ago | |
cron | 1 year ago | |
externalaccount | 1 year ago | |
feed | 2 years ago | |
forms | 1 year ago | |
gitdiff | 2 years ago | |
indexer | 1 year ago | |
issue | 1 year ago | |
lfs | 1 year ago | |
mailer | 1 year ago | |
markup | 2 years ago | |
migrations | 1 year ago | |
mirror | 2 years ago | |
notify | 2 years ago | |
org | 1 year ago | |
packages | 1 year ago | |
pull | 1 year ago | |
release | 1 year ago | |
repository | 1 year ago | |
secrets | 1 year ago | |
task | 1 year ago | |
uinotification | 1 year ago | |
user | 1 year ago | |
webhook | 1 year ago | |
wiki | 2 years ago |