Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jabis Sevón
/
esm
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
7974c74d
authored
2016-08-21 18:08:47 +0200
by
jabis
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
timer fix
1 parent
93993793
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
index.js
index.js
View file @
7974c74
...
...
@@ -95,14 +95,14 @@
socket
.
on
(
'change'
,
function
()
{
socket
.
emit
(
'start'
,
config
.
spans
);
});
});
config
.
spans
.
forEach
((
span
)
=>
{
span
.
os
=
[];
span
.
responses
=
[];
setInterval
(()
=>
gatherOsMetrics
(
io
,
span
),
span
.
interval
*
1000
);
setInterval
(()
=>
gatherOsMetrics
(
socket
,
span
),
span
.
interval
*
1000
);
});
});
const
startTime
=
process
.
hrtime
();
if
(
req
.
path
===
config
.
path
)
{
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment