dev end / prod env :/
This commit is contained in:
parent
56ccca6bc0
commit
319f828c84
|
@ -74,10 +74,10 @@ function work() {
|
||||||
// for(var i=0;i<4+Math.random() * 100;i++) {
|
// for(var i=0;i<4+Math.random() * 100;i++) {
|
||||||
// simpleanswer.names.push("nickname"+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();
|
work();
|
||||||
|
|
||||||
app.set('snmpMac', snmpMac); //TODO: wie kann man das schoener machen? (Modul in die Routes reintun)
|
app.set('snmpMac', snmpMac); //TODO: wie kann man das schoener machen? (Modul in die Routes reintun)
|
||||||
|
|
Loading…
Reference in New Issue