@cadenza.io/service 2.3.10 → 2.3.11
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/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -1960,7 +1960,6 @@ var SocketController = class _SocketController {
|
|
|
1960
1960
|
};
|
|
1961
1961
|
socket.on("connect", () => {
|
|
1962
1962
|
if (handshake) return;
|
|
1963
|
-
console.log("socket connected");
|
|
1964
1963
|
CadenzaService.emit(`meta.socket_client.connected:${fetchId}`, ctx);
|
|
1965
1964
|
});
|
|
1966
1965
|
socket.on("delegation_progress", (ctx2) => {
|
|
@@ -2043,7 +2042,7 @@ var SocketController = class _SocketController {
|
|
|
2043
2042
|
1e4,
|
|
2044
2043
|
(result) => {
|
|
2045
2044
|
if (result.status === "success") {
|
|
2046
|
-
CadenzaService.log("Socket connected", {
|
|
2045
|
+
CadenzaService.log("Socket client connected", {
|
|
2047
2046
|
result,
|
|
2048
2047
|
serviceName,
|
|
2049
2048
|
socketId: socket?.id,
|
|
@@ -4196,8 +4195,9 @@ var GraphSyncController = class _GraphSyncController {
|
|
|
4196
4195
|
{ __syncing: true },
|
|
4197
4196
|
18e4
|
|
4198
4197
|
);
|
|
4199
|
-
CadenzaService.schedule("meta.sync_requested", { __syncing: true },
|
|
4198
|
+
CadenzaService.schedule("meta.sync_requested", { __syncing: true }, 5e3);
|
|
4200
4199
|
}
|
|
4200
|
+
console.log("Syncing initiated", this.isCadenzaDBReady);
|
|
4201
4201
|
}
|
|
4202
4202
|
};
|
|
4203
4203
|
|