mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 10:45:58 +08:00
test(server): try to reduce number to avoid CI crashing
This commit is contained in:
parent
2d5754c005
commit
1dce202d21
1 changed files with 12 additions and 12 deletions
|
|
@ -481,7 +481,7 @@ describe('Provider Streaming Integration Tests', () => {
|
||||||
describe('Memory Management', () => {
|
describe('Memory Management', () => {
|
||||||
it('should not leak memory during long streaming sessions', async () => {
|
it('should not leak memory during long streaming sessions', async () => {
|
||||||
// Reduced chunk count for CI stability - still tests memory management
|
// Reduced chunk count for CI stability - still tests memory management
|
||||||
const chunkCount = 1000; // Reduced from 10000
|
const chunkCount = 500; // Reduced from 10000
|
||||||
const longSessionIterator = {
|
const longSessionIterator = {
|
||||||
async *[Symbol.asyncIterator]() {
|
async *[Symbol.asyncIterator]() {
|
||||||
for (let i = 0; i < chunkCount; i++) {
|
for (let i = 0; i < chunkCount; i++) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue