# HG changeset patch # User drewp@bigasterisk.com # Date 2023-06-01 21:21:35 # Node ID 855f1abf5c6601927f6ef07e768720b70d99b864 # Parent cdfd2901918ac954d0347de9cf92a45fbee525eb client side chaos (disabled) 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"); }