stress test script update

This commit is contained in:
2026-04-07 14:41:48 -04:00
parent fe12a6a3c3
commit 6212d8a1c0
2 changed files with 1 additions and 5 deletions
+1 -1
View File
@@ -107,7 +107,7 @@
if (isPrepending && scrollContainer && anchoredScrollHeight > 0) {
const newScrollHeight = scrollContainer.scrollHeight;
const heightDiff = newScrollHeight - anchoredScrollHeight;
if (heightDiff > 0) {
console.log(`[MessageList] Prepending detected, adjusting scroll by ${heightDiff}px`);
scrollContainer.scrollTop = anchoredScrollTop + heightDiff;
-4
View File
@@ -57,10 +57,6 @@ const startStressTest = () => {
: `Stress test message ${msgCount++} from client at ${new Date().toISOString()}`;
try {
if (msgCount === 1) {
console.log("Available reducers:", Object.keys(connection.reducers));
}
// The bindings use camelCase sendMessage
connection.reducers.sendMessage({
text,