Skip to content

Commit

Permalink
some trace to debug + max concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
supa-thibaud committed Aug 23, 2024
1 parent 9829d0e commit 6059573
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def wait_for_server(self, timeout=300, interval=5):
def shutdown(self):
if self.process:
self.process.terminate()
self.process.wait()
self.process.wait()
print("Server shut down.")

class OpenAIRequest:
Expand Down
2 changes: 1 addition & 1 deletion src/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Initialize the engine
engine = SGlangEngine()
engine.start_server()
engine.start_server()
engine.wait_for_server()

print(f" ==== start_server")
Expand Down

0 comments on commit 6059573

Please sign in to comment.