"Test Hook" button timeout because not generating sidekiq job

When you launch your webhook using the "Test Hook" button on the project settings page it does not generate a sidekiq job like it does when triggered from a git push. This can cause the hook to timeout if your NGNIX timeout does not match your sidekiq timeout.

https://velenux.wordpress.com/2014/11/17/how-to-fix-gitlab-timeout/ nginx['keepalive_timeout'] = 900 gitlab_rails['webhook_timeout'] = 900

It seems like the "Test Hook" button should generate a sidekiq job rather than running from the UI process.

Edited Nov 24, 2022 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading