Skip to content
Features
Business
Explore
Marketplace
Pricing
In this repository
All GitHub
↵
Jump to
↵
No suggested jump to results
Sign in
or
Sign up
Watch
343
Star
7,060
Fork
424
datproject
/
dat
Code
Issues
110
Pull requests
4
Insights
Permalink
Browse files
sigterm after 2 seconds
Loading branch information
...
maxogden
committed
Jan 29, 2016
1 parent
4825922
commit
e73979e507000c8fbd09752a5882d567fe8a3b9a
Unified
Split
Showing
1 changed file
with
8 additions
and
0 deletions
.
+8
−0
cli.js
Show comments
View
8
cli.js
@@ -105,6 +105,14 @@ function startProgressLogging (stats) {
printSwarmStatus
(stats)
},
500
)
printSwarmStatus
(stats)
process
.
on
(
'
SIGINT
'
,
function
() {
process
.
exit
(
1
)
setTimeout
(
function
() {
//
sigterm if it is still running
process
.
kill
(
process
.
pid
)
},
2000
)
})
}
function
printScanProgress
(
stats
) {
Toggle all file notes
0 comments on commit
e73979e
Please
sign in
to comment.
You can’t perform that action at this time.
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
Press h to open a hovercard with more details.
0 comments on commit
e73979e