mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
test(server): try to reduce number to avoid CI crashing
This commit is contained in:
parent
2d5754c005
commit
1dce202d21
@ -481,7 +481,7 @@ describe('Provider Streaming Integration Tests', () => {
|
||||
describe('Memory Management', () => {
|
||||
it('should not leak memory during long streaming sessions', async () => {
|
||||
// Reduced chunk count for CI stability - still tests memory management
|
||||
const chunkCount = 1000; // Reduced from 10000
|
||||
const chunkCount = 500; // Reduced from 10000
|
||||
const longSessionIterator = {
|
||||
async *[Symbol.asyncIterator]() {
|
||||
for (let i = 0; i < chunkCount; i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user