Skip to content
GitLab
Next
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
G
GitLab Markup
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
4
Snippets
Groups
Projects
Show more breadcrumbs
GitLab.org
GitLab Markup
Commits
990c6168
Commit
990c6168
authored
3 years ago
by
Dominic Couture
🌴
Browse files
Options
Downloads
Patches
Plain Diff
Ensure timeout is a number
parent
47b473e4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!35
Ensure timeout is a number
Pipeline
#421415268
passed
3 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/github/markup/command_implementation.rb
+1
-1
1 addition, 1 deletion
lib/github/markup/command_implementation.rb
with
1 addition
and
1 deletion
lib/github/markup/command_implementation.rb
+
1
−
1
View file @
990c6168
...
...
@@ -42,7 +42,7 @@ module GitHub
end
def
timeout_in_seconds
ENV
.
fetch
(
'GITLAB_MARKUP_TIMEOUT'
,
DEFAULT_GITLAB_MARKUP_TIMEOUT
)
ENV
.
fetch
(
'GITLAB_MARKUP_TIMEOUT'
,
DEFAULT_GITLAB_MARKUP_TIMEOUT
)
.
to_i
end
def
prepend_command_timeout_prefix
(
command
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment