dev end / prod env :/

This commit is contained in:
Lucas Pleß 2013-10-21 22:04:21 +02:00
parent 56ccca6bc0
commit 319f828c84
1 changed files with 2 additions and 2 deletions

View File

@ -74,10 +74,10 @@ function work() {
// for(var i=0;i<4+Math.random() * 100;i++) {
// simpleanswer.names.push("nickname"+i);
// }
// io.sockets.emit('sdata', { "data": simpleanswer });
// io.sockets.emit('sdata', { "data": simpleanswer }); // TODO: enable data simulation in dev env
}
setInterval(work, 10000);
setInterval(work, 60000); // TODO: make 60s in prod and 10s in dev env
work();
app.set('snmpMac', snmpMac); //TODO: wie kann man das schoener machen? (Modul in die Routes reintun)