Skip to content

Conversation

@andreas-karlsson
Copy link
Contributor

No description provided.

@andreas-karlsson andreas-karlsson changed the title refactor: log flush handling feat(js): flush assigned when reaching limit Nov 18, 2025
@nicklasl nicklasl marked this pull request as ready for review November 20, 2025 13:42
}

private async flushAssigned(): Promise<void> {
const writeFlagLogRequest = this.resolver.flushAssigned();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

flushAssigned() will only return a request if the logs buffer in WASM is >= 3.9 MB.

private async flushAssigned(): Promise<void> {
const writeFlagLogRequest = this.resolver.flushAssigned();
if (writeFlagLogRequest.length > 0) {
await this.sendFlagLogs(writeFlagLogRequest);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need to await this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants