Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
histhub
magpie
Commits
45d0a0a1
Commit
45d0a0a1
authored
Sep 04, 2018
by
Tobias Steiner
Browse files
Add warn for server timeout
parent
e1563765
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/crawler.ts
View file @
45d0a0a1
...
...
@@ -102,6 +102,7 @@ class Crawler extends Transform {
// if the server is not reacting wait for a timeout and then call the callback
setTimeout
(()
=>
{
if
(
!
foundServer
)
{
this
.
logger
.
warn
(
'
Too fast. ServerTimeout triggered
'
);
callback
(
null
);
}
},
this
.
serverTimeout
)
...
...
Write
Preview
Supports
Markdown
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