hyoo_sync_client 0.0.15 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node.deps.json +1 -1
- package/node.js +9 -5
- package/node.js.map +1 -1
- package/node.mjs +9 -5
- package/node.mjs.map +1 -1
- package/node.test.js +9 -5
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.deps.json +1 -1
- package/web.js +9 -5
- package/web.js.map +1 -1
- package/web.mjs +9 -5
- package/web.mjs.map +1 -1
package/node.test.js
CHANGED
|
@@ -24,7 +24,7 @@ $.$$ = $
|
|
|
24
24
|
//hyoo/hyoo.ts
|
|
25
25
|
;
|
|
26
26
|
"use strict";
|
|
27
|
-
let $hyoo_sync_revision = "
|
|
27
|
+
let $hyoo_sync_revision = "8b9fe5e";
|
|
28
28
|
//hyoo/sync/-meta.tree/revision.meta.tree.ts
|
|
29
29
|
;
|
|
30
30
|
"use strict";
|
|
@@ -3748,10 +3748,15 @@ var $;
|
|
|
3748
3748
|
for (const land of this.world().lands.values()) {
|
|
3749
3749
|
this.db_land_sync(land);
|
|
3750
3750
|
}
|
|
3751
|
-
const master = this.master();
|
|
3752
|
-
if (master)
|
|
3753
|
-
$mol_wire_race(...[...this.world().lands.values()].map(land => () => this.line_land_sync({ line: master, land })));
|
|
3754
3751
|
$mol_wire_race(...this.slaves().map(line => () => this.line_sync(line)));
|
|
3752
|
+
try {
|
|
3753
|
+
const master = this.master();
|
|
3754
|
+
if (master)
|
|
3755
|
+
$mol_wire_race(...[...this.world().lands.values()].map(land => () => this.line_land_sync({ line: master, land })));
|
|
3756
|
+
}
|
|
3757
|
+
catch (error) {
|
|
3758
|
+
$mol_fail_log(error);
|
|
3759
|
+
}
|
|
3755
3760
|
}
|
|
3756
3761
|
land_sync(land) {
|
|
3757
3762
|
this.db_land_init(land);
|
|
@@ -3846,7 +3851,6 @@ var $;
|
|
|
3846
3851
|
}
|
|
3847
3852
|
line_land_clocks({ line, land }, next) {
|
|
3848
3853
|
$mol_wire_solid();
|
|
3849
|
-
this.master();
|
|
3850
3854
|
return next;
|
|
3851
3855
|
}
|
|
3852
3856
|
line_sync(line) {
|