mirror of
https://github.com/wisplite/BLE-mesh-sim.git
synced 2026-10-30 13:32:21 -05:00
remove console.log for hopefully better performance
This commit is contained in:
@@ -124,7 +124,6 @@ onEdgeEngine.setArrivalCallback(({ from, to, dot }) => {
|
||||
if (neighbor === from) {
|
||||
continue;
|
||||
}
|
||||
console.log(`Sending packet ${packetId} from ${to} to ${neighbor}`);
|
||||
var packetShift = generateRealisticLabel();
|
||||
var movingNode = {
|
||||
id: `${packetId}-${packetShift}-${ttl}`,
|
||||
@@ -546,7 +545,6 @@ document.getElementById('createRandomGraphConfirm').addEventListener('click', fu
|
||||
onNodeAdd();
|
||||
nodeCounter++;
|
||||
if (nodeCounter >= nodeCount) {
|
||||
console.log('Node count reached');
|
||||
clearInterval(interval);
|
||||
setTimeout(() => {
|
||||
network.setOptions({
|
||||
|
||||
Reference in New Issue
Block a user