Skip to content

Improve handling of concurrent requests in WebSocketGraphQlClient #388

@rstoyanchev

Description

@rstoyanchev

Attempts to send requests concurrently may fail with:

java.lang.IllegalStateException: Failed to send request: FAIL_NON_SERIALIZED

This is because we are using the Reactor Sinks API which expect serial sending with external synchronization. The current implementation however simply retries 100 times and fails if it keeps losing out.

This needs to be improved and was also reported in #369 (comment).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions