Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes around storage-flush from www #456

Merged
merged 3 commits into from
Mar 11, 2025

Conversation

chombourger
Copy link
Collaborator

No description provided.

Clients may not call flush(), it is therefore incorrect to send the
completion notification from there. It should instead be sent from
the writer thread just before it exits.

Signed-off-by: Cedric Hombourger <[email protected]>
We have different queues for the data and control planes: the
javascript code may have sent the entire file to the websocket
but the browser will have it enqueued into its own queue. With
calls we make being asynchronous, remove the unnecessary call
to the storage-flush endpoint: we will be notified when the
agent has finished processing the queue (with a CORRUPTED or
INITIALIZED event).

Signed-off-by: Cedric Hombourger <[email protected]>
@chombourger chombourger added this to the 0.36 milestone Mar 11, 2025
@chombourger chombourger merged commit 8bea658 into siemens:master Mar 11, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant