Skip to content

Commit

Permalink
Properties as array
Browse files Browse the repository at this point in the history
  • Loading branch information
goldbergyoni committed Apr 14, 2019
2 parents 2c0738c + 8e5a056 commit 9ce919e
Show file tree
Hide file tree
Showing 11 changed files with 3,619 additions and 5,183 deletions.
2 changes: 1 addition & 1 deletion entry-points/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class API {
if (prankToEmit.name === "blocked-event-loop" || prankToEmit.name === "memory-load" || prankToEmit.name === "uncaught-exception" || prankToEmit.name === "cpu-load") {
socket.broadcast.emit('new-prank-activity', prankToEmit);
}
}, 1000);
}, 2000);


socket.on('disconnect', function () {
Expand Down
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const API = require('./entry-points/api');
const ChaosControl = require('./chaos-control');

console.log('Chaos monkey starting point');
module.exports.initialize = (expressApp) => {
return {
api: new API(expressApp),
Expand Down
Loading

0 comments on commit 9ce919e

Please sign in to comment.