mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-23 20:00:15 +01:00
💾 feat: Add Memory Configuration Options for CI unit tests
- responding to PR feedback from Copilot
This commit is contained in:
parent
b8fe41e59d
commit
ef8f27122e
5 changed files with 12 additions and 8 deletions
|
|
@ -12,4 +12,6 @@ BAN_VIOLATIONS=true
|
|||
BAN_DURATION=7200000
|
||||
BAN_INTERVAL=20
|
||||
|
||||
# NODE_MAX_OLD_SPACE_SIZE is only used as a Docker build argument.
|
||||
# Node.js does NOT recognize this environment variable for heap size.
|
||||
NODE_MAX_OLD_SPACE_SIZE=6144
|
||||
|
|
|
|||
|
|
@ -16,5 +16,3 @@ process.env.ALLOW_EMAIL_LOGIN = 'true';
|
|||
// This can be overridden in individual tests if needed
|
||||
jest.setTimeout(30000);
|
||||
process.env.OPENAI_API_KEY = 'test';
|
||||
|
||||
process.env.NODE_MAX_OLD_SPACE_SIZE = '6144';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue