diff --git a/light9/web/SyncedGraph.ts b/light9/web/SyncedGraph.ts --- a/light9/web/SyncedGraph.ts +++ b/light9/web/SyncedGraph.ts @@ -158,10 +158,13 @@ export class SyncedGraph { } if (!patch.isEmpty()) { this._applyPatch(patch); + // // chaos delay + // setTimeout(()=>{ if (this.client) { log("sending patch:\n", patch.dump()); this.client.sendPatch(patch); } + // },300*Math.random()) } console.timeEnd("applyAndSendPatch"); }