Skip to content

Commit

Permalink
perf: try completion stub async to avoid many new threads
Browse files Browse the repository at this point in the history
  • Loading branch information
sambarnes committed Jan 8, 2024
1 parent 265cdee commit 3f9fa09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modal/runner/endpoints/completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
)


def completion(
async def completion(
payload: Payload,
_token: HTTPAuthorizationCredentials = Depends(config.auth),
):
Expand Down

0 comments on commit 3f9fa09

Please sign in to comment.