Skip to content

Commit

Permalink
feat(limits): update the tokenize limit (#188)
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Dvorak <toomas2d@gmail.com>
  • Loading branch information
Tomas2D committed Oct 12, 2023
1 parent 5635089 commit 63ded3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/genai/services/connection_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class ConnectionManager:
MAX_RETRIES_GENERATE = 3
TIMEOUT_GENERATE = 600
MAX_RETRIES_TOKENIZE = 3
MAX_REQ_PER_SECOND_TOKENIZE = 20
MAX_REQ_PER_SECOND_TOKENIZE = 10
TIMEOUT = 600

async_generate_client: AsyncClient = None
Expand Down

0 comments on commit 63ded3a

Please sign in to comment.