-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvements around service scalability (#41)
* move batch size to env var with default of 20 base winston log level on LOGGING_LEVEL variable and ensure its lower case auto ack messages on receival * address comments
- Loading branch information
Showing
5 changed files
with
45 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,3 +23,5 @@ VECTOR_DB_PORT=8000 | |
|
||
CHUNK_SIZE=1000 | ||
CHUNK_OVERLAP=100 | ||
|
||
BATCH_SIZE=20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export const CHUNK_SIZE = parseInt(process.env.CHUNK_SIZE || '1000'); | ||
export const CHUNK_OVERLAP = parseInt(process.env.CHUNK_OVERLAP || '100'); | ||
export const BATCH_SIZE = parseInt(process.env.BATCH_SIZE || '20'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters