mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-19 20:27:16 +00:00
787f6c3227
When re-retrieving hook tasks from the DB double check if they have not been delivered in the meantime. Further ensure that tasks are marked as delivered when they are being delivered. In addition: * Improve the error reporting and make sure that the webhook task population script runs in a separate goroutine. * Only get hook task IDs out of the DB instead of the whole task when repopulating the queue * When repopulating the queue make the DB request paged Ref #17940 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: delvh <dev.lh@web.de> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> |
||
---|---|---|
.. | ||
deliver.go | ||
deliver_test.go | ||
dingtalk.go | ||
dingtalk_test.go | ||
discord.go | ||
discord_test.go | ||
feishu.go | ||
feishu_test.go | ||
general.go | ||
general_test.go | ||
main_test.go | ||
matrix.go | ||
matrix_test.go | ||
msteams.go | ||
msteams_test.go | ||
packagist.go | ||
packagist_test.go | ||
payloader.go | ||
slack.go | ||
slack_test.go | ||
telegram.go | ||
telegram_test.go | ||
webhook.go | ||
webhook_test.go | ||
wechatwork.go |