# HG changeset patch # User drewp@bigasterisk.com # Date 1685654495 25200 # Node ID 855f1abf5c6601927f6ef07e768720b70d99b864 # Parent cdfd2901918ac954d0347de9cf92a45fbee525eb client side chaos (disabled) diff -r cdfd2901918a -r 855f1abf5c66 light9/web/SyncedGraph.ts --- a/light9/web/SyncedGraph.ts Thu Jun 01 14:21:20 2023 -0700 +++ b/light9/web/SyncedGraph.ts Thu Jun 01 14:21:35 2023 -0700 @@ -158,10 +158,13 @@ } 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"); }