"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "api/api.js" between
countly-server-20.04.1.4.tar.gz and countly-server-20.04.1.5.tar.gz

About: countly-server is a mobile & web analytics, push notifications and crash reporting platform. This is the server part that collects and analyzes data while individual client SDKs (mobile, web or desktop) send the data. Community Edition (commercial Enterprise Edition also available).

api.js  (countly-server-20.04.1.4):api.js  (countly-server-20.04.1.5)
skipping to change at line 225 skipping to change at line 225
worker.send({ cmd: "batch_read", data: {msgId, data} }); worker.send({ cmd: "batch_read", data: {msgId, data} });
}) })
.catch((err) => { .catch((err) => {
worker.send({ cmd: "batch_read", data: {msgId, err} }); worker.send({ cmd: "batch_read", data: {msgId, err} });
}); });
} }
else if (msg.cmd === "batch_invalidate") { else if (msg.cmd === "batch_invalidate") {
const {collection, query, projection, multi} = msg.data; const {collection, query, projection, multi} = msg.data;
common.readBatcher.invalidate(collection, query, projection, multi); common.readBatcher.invalidate(collection, query, projection, multi);
} }
else if (msg.cmd === "dispatchMaster" && msg.event) {
plugins.dispatch(msg.event, msg.data);
}
else if (msg.cmd === "dispatch" && msg.event) { else if (msg.cmd === "dispatch" && msg.event) {
workers.forEach((w) => { workers.forEach((w) => {
w.send(msg); w.send(msg);
}); });
} }
}); });
}; };
if (cluster.isMaster) { if (cluster.isMaster) {
common.cache = new CacheMaster(common.db); common.cache = new CacheMaster(common.db);
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)