@luckydraw/cumulus 0.27.24 → 0.27.25
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.
|
@@ -1564,7 +1564,7 @@
|
|
|
1564
1564
|
reconnectDelay = 1000;
|
|
1565
1565
|
ws.send(JSON.stringify({ type: 'auth', apiKey: apiKey }));
|
|
1566
1566
|
if (!skipHistory) {
|
|
1567
|
-
ws.send(JSON.stringify({ type: 'history', threadName: sessionId, limit:
|
|
1567
|
+
ws.send(JSON.stringify({ type: 'history', threadName: sessionId, limit: 200 }));
|
|
1568
1568
|
}
|
|
1569
1569
|
};
|
|
1570
1570
|
|
|
@@ -2167,7 +2167,7 @@
|
|
|
2167
2167
|
renderMessages();
|
|
2168
2168
|
// Reload history
|
|
2169
2169
|
if (connection)
|
|
2170
|
-
connection.send({ type: 'history', threadName: sessionId, limit:
|
|
2170
|
+
connection.send({ type: 'history', threadName: sessionId, limit: 200 });
|
|
2171
2171
|
}
|
|
2172
2172
|
embeddedStreamTimer = null;
|
|
2173
2173
|
}, EMBEDDED_STREAM_TIMEOUT);
|
|
@@ -2442,7 +2442,7 @@
|
|
|
2442
2442
|
// Reload history to get the real response if server completed
|
|
2443
2443
|
s.historyLoaded = false;
|
|
2444
2444
|
if (connection) {
|
|
2445
|
-
connection.send({ type: 'history', threadName: threadName, limit:
|
|
2445
|
+
connection.send({ type: 'history', threadName: threadName, limit: 200 });
|
|
2446
2446
|
}
|
|
2447
2447
|
refreshThreadPanel(threadName);
|
|
2448
2448
|
}
|
|
@@ -2961,7 +2961,7 @@
|
|
|
2961
2961
|
var state = getThreadState(name);
|
|
2962
2962
|
if (!state.historyLoaded && connection) {
|
|
2963
2963
|
state.historyLoaded = true;
|
|
2964
|
-
connection.send({ type: 'history', threadName: name, limit:
|
|
2964
|
+
connection.send({ type: 'history', threadName: name, limit: 200 });
|
|
2965
2965
|
}
|
|
2966
2966
|
}
|
|
2967
2967
|
|