Reduces occurrences of “Durable Object Overloaded” error by optimizing CPU usage in server.
As a short-term workaround, also introduces maxMutationsPerTurn option for createReflectServer. This can be used to reduce overloading at expense of peer-to-peer latency.
Future releases will calculate this value automatically and remove the option.
npm install @rocicorp/[email protected]
(as compared to [email protected])
maxMutationsPerTurn option for createReflectServer. This can be used to reduce overloading at expense of peer-to-peer latency. A reasonable value is 100.