Commit b8f258ac authored by Tobias Steiner's avatar Tobias Steiner
Browse files

Set interval instead of timeout

parent faa37088
......@@ -57,7 +57,7 @@ kafka.init().then(() => {
counter++;
core.getReporter().setDataIn(1);
});
setTimeout(() => {
setInterval(() => {
console.log('Count : ' + counter);
}, 30000);
});
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment