fix(extension): resolve 10-item limit truncation & WS zombie disconnection (v0.5.14)
This commit is contained in:
@@ -178,7 +178,8 @@ function setupMonitor() {
|
||||
ctx.logToFile(`[POLL#${pollCount}] alive`);
|
||||
}
|
||||
try {
|
||||
const allTraj = await ctx.sdk.ls.rawRPC('GetAllCascadeTrajectories', {});
|
||||
// Fix (v0.5.14): Reverted 100-limit DoS but restored descending: true with a safe limit of 30
|
||||
const allTraj = await ctx.sdk.ls.rawRPC('GetAllCascadeTrajectories', { limit: 30, descending: true });
|
||||
if (!allTraj?.trajectorySummaries) {
|
||||
if (pollCount <= 3) ctx.logToFile('[POLL] no trajectorySummaries');
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user