chat-recall 0.7.40 → 0.7.41
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/watch.js +2 -0
- package/package.json +1 -1
package/dist/watch.js
CHANGED
|
@@ -34591,6 +34591,7 @@ async function shipToServer(trigger) {
|
|
|
34591
34591
|
for (const server of syncTargetUrls()) noteSyncOutcome(server, false, msg);
|
|
34592
34592
|
} finally {
|
|
34593
34593
|
syncInFlight = false;
|
|
34594
|
+
releaseMemory();
|
|
34594
34595
|
}
|
|
34595
34596
|
}
|
|
34596
34597
|
function scheduleSync() {
|
|
@@ -34820,6 +34821,7 @@ async function codeIndexTick() {
|
|
|
34820
34821
|
for (const ws of workspaces) {
|
|
34821
34822
|
const rss = rssMb();
|
|
34822
34823
|
if (isOverMemoryLimit(rss, rssLimit)) {
|
|
34824
|
+
releaseMemory();
|
|
34823
34825
|
daemonLog.info(`code intelligence: paused at the memory bound (rss=${rss}MB \u2265 ${rssLimit}MB) \u2014 ${workspaces.length - ok - unchanged} workspace(s) wait for the next pass`);
|
|
34824
34826
|
break;
|
|
34825
34827
|
}
|