@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.js
CHANGED
|
@@ -2008,7 +2008,6 @@ var SocketController = class _SocketController {
|
|
|
2008
2008
|
};
|
|
2009
2009
|
socket.on("connect", () => {
|
|
2010
2010
|
if (handshake) return;
|
|
2011
|
-
console.log("socket connected");
|
|
2012
2011
|
CadenzaService.emit(`meta.socket_client.connected:${fetchId}`, ctx);
|
|
2013
2012
|
});
|
|
2014
2013
|
socket.on("delegation_progress", (ctx2) => {
|
|
@@ -2091,7 +2090,7 @@ var SocketController = class _SocketController {
|
|
|
2091
2090
|
1e4,
|
|
2092
2091
|
(result) => {
|
|
2093
2092
|
if (result.status === "success") {
|
|
2094
|
-
CadenzaService.log("Socket connected", {
|
|
2093
|
+
CadenzaService.log("Socket client connected", {
|
|
2095
2094
|
result,
|
|
2096
2095
|
serviceName,
|
|
2097
2096
|
socketId: socket?.id,
|
|
@@ -4244,8 +4243,9 @@ var GraphSyncController = class _GraphSyncController {
|
|
|
4244
4243
|
{ __syncing: true },
|
|
4245
4244
|
18e4
|
|
4246
4245
|
);
|
|
4247
|
-
CadenzaService.schedule("meta.sync_requested", { __syncing: true },
|
|
4246
|
+
CadenzaService.schedule("meta.sync_requested", { __syncing: true }, 5e3);
|
|
4248
4247
|
}
|
|
4248
|
+
console.log("Syncing initiated", this.isCadenzaDBReady);
|
|
4249
4249
|
}
|
|
4250
4250
|
};
|
|
4251
4251
|
|