Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
fabc3ff4
Commit
fabc3ff4
authored
Sep 17, 2020
by
Arihant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added console commands for removing webhook
parent
0c5749fe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
doc/administration/troubleshooting/gitlab_rails_cheat_sheet.md
...dministration/troubleshooting/gitlab_rails_cheat_sheet.md
+11
-0
No files found.
doc/administration/troubleshooting/gitlab_rails_cheat_sheet.md
View file @
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment