Skip to content

Conversation

@karlseguin
Copy link
Collaborator

For the time being, given that we only allow 1 client at a time, I took a shortcut to implement this. The server has an incrementing "current_client_id" which is part of every completion. On completion callback, we just check if its client_id is still equal to the server's current_client_id.

For the time being, given that we only allow 1 client at a time, I took a
shortcut to implement this. The server has an incrementing "current_client_id"
which is part of every completion. On completion callback, we just check if
its client_id is still equal to the server's current_client_id.
@krichprollsch krichprollsch merged commit aefd091 into lightpanda-io:main Feb 21, 2025
9 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Feb 21, 2025
@karlseguin karlseguin deleted the managed_completions branch February 24, 2025 10:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants