Release 11.1.0
This commit is contained in:
parent
14d59de2bd
commit
6669be104e
2
dist
2
dist
@ -1 +1 @@
|
|||||||
Subproject commit e2f93af86e9dd207cb57d313c6ac305cd69e34d1
|
Subproject commit 80ab682b0a6f338e48979b619e0c7b6f55ca9a48
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "yjs",
|
"name": "yjs",
|
||||||
"version": "11.0.4",
|
"version": "11.1.0",
|
||||||
"description": "A framework for real-time p2p shared editing on arbitrary complex data types",
|
"description": "A framework for real-time p2p shared editing on arbitrary complex data types",
|
||||||
"main": "./src/y.js",
|
"main": "./src/y.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -91,7 +91,7 @@ function * applyTransactions (relAmount, numberOfTransactions, objects, users, t
|
|||||||
if (r > 0.9) {
|
if (r > 0.9) {
|
||||||
// 10% chance of toggling concurrent user interactions.
|
// 10% chance of toggling concurrent user interactions.
|
||||||
// There will be an artificial delay until ops can be executed by the type,
|
// There will be an artificial delay until ops can be executed by the type,
|
||||||
// therefore, operations of the database will be (pre)transformed until user operations arrive
|
// therefore, operations of the database will be (pre)transformed until user operations arrive
|
||||||
yield (function simulateConcurrentUserInteractions (type) {
|
yield (function simulateConcurrentUserInteractions (type) {
|
||||||
if (type.eventHandler.awaiting === 0 && type.eventHandler._debuggingAwaiting !== true) {
|
if (type.eventHandler.awaiting === 0 && type.eventHandler._debuggingAwaiting !== true) {
|
||||||
type.eventHandler.awaiting = 1
|
type.eventHandler.awaiting = 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user