mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-10 17:14:36 +00:00
adjust sleep time
This commit is contained in:
parent
6a4becb731
commit
2cf6d16c40
1 changed files with 1 additions and 1 deletions
|
@ -1482,7 +1482,7 @@ class ServerRequestHandler(http.server.SimpleHTTPRequestHandler):
|
||||||
current_token = 0
|
current_token = 0
|
||||||
incomplete_token_buffer = bytearray()
|
incomplete_token_buffer = bytearray()
|
||||||
async_sleep_short = 0.02
|
async_sleep_short = 0.02
|
||||||
await asyncio.sleep(0.5) #anti race condition, prevent check from overtaking generate
|
await asyncio.sleep(0.35) #anti race condition, prevent check from overtaking generate
|
||||||
try:
|
try:
|
||||||
tokenReserve = "" #keeps fully formed tokens that we cannot send out yet
|
tokenReserve = "" #keeps fully formed tokens that we cannot send out yet
|
||||||
while True:
|
while True:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue