Commit f9b0acdb authored by Viji Rao's avatar Viji Rao

Merge branch 'arihantar-master-patch-61556' into 'master'

Added console commands for removing webhook

See merge request gitlab-org/gitlab!42572
parents 7592493c fabc3ff4
......@@ -218,6 +218,17 @@ namespace = Namespace.find_by_full_path("")
::Projects::TransferService.new(p, current_user).execute(namespace)
```
### For Removing webhooks that is getting timeout due to large webhook logs
```ruby
# ID will be the webhook_id
WebHookLog.where(web_hook_id: ID).each_slice(ID) do |slice|
slice.each(&:destroy)
end
WebHook.find(ID).destroy
```
### Bulk update service integration password for _all_ projects
For example, change the Jira user's password for all projects that have the Jira
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment