Skip to content

Move blocking logger operation to io thread - #28

Closed
Arooba-git wants to merge 1 commit into
WegenenVerkeer:masterfrom
Arooba-git:fix-blocking-io
Closed

Arooba-git wants to merge 1 commit into
WegenenVerkeer:masterfrom
Arooba-git:fix-blocking-io

Conversation

@Arooba-git

Copy link
Copy Markdown

Hi! :)
We found a blocking call in RxJavaHttpClient class via BlockHound. Apparently logger.info is blocking the reactive pipeline:
Screen Shot 2023-07-20 at 4 28 14 PM

This PR fixes the blocking call. We re-ran the tests and also validated the performance improvement (in terms of memory usage) before and after the fix:
Before
rxhttp1-memory-before

After
rxhttp1-memory-after

@maesenka maesenka closed this Jul 23, 2026
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.

2 participants