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

Timeline : remove some code from main thread #2841

Merged
merged 1 commit into from
May 14, 2024

Conversation

ganfra
Copy link
Contributor

@ganfra ganfra commented May 14, 2024

Just small clean up of code launched on main thread.

@ganfra ganfra marked this pull request as ready for review May 14, 2024 12:11
@ganfra ganfra requested a review from a team as a code owner May 14, 2024 12:11
@ganfra ganfra requested review from bmarty and removed request for a team May 14, 2024 12:11
Copy link

sonarcloud bot commented May 14, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link
Contributor

📱 Scan the QR code below to install the build (arm64 only) for this PR.
QR code
If you can't scan the QR code you can install the build via this link: https://i.diawi.com/8kcPvL

Copy link

codecov bot commented May 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.95%. Comparing base (cbc3971) to head (ffdbf79).
Report is 2 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2841   +/-   ##
========================================
  Coverage    73.95%   73.95%           
========================================
  Files         1531     1531           
  Lines        36505    36505           
  Branches      7069     7069           
========================================
  Hits         26999    26999           
  Misses        5804     5804           
  Partials      3702     3702           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bmarty bmarty added Run-Maestro Starts a Maestro Cloud session to run integration tests labels May 14, 2024
@github-actions github-actions bot removed the Run-Maestro Starts a Maestro Cloud session to run integration tests label May 14, 2024
Copy link
Member

@bmarty bmarty left a comment

Choose a reason for hiding this comment

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

Thanks for you investigation and for ensuring that the app is always as snappy as ever!

Timber.d("Can't paginate $direction on room ${matrixRoom.roomId} with paginationStatus: ${backPaginationStatus.value}")
} else {
Timber.e(error, "Error paginating $direction on room ${matrixRoom.roomId}")
withContext(dispatcher) {
Copy link
Member

Choose a reason for hiding this comment

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

Can be written like this: withContext(NonCancellable + dispatcher) { I think, but not a big deal as using NonCancellable is a temporary workaround.

@ganfra ganfra merged commit b3053f2 into develop May 14, 2024
21 of 22 checks passed
@ganfra ganfra deleted the feature/fga/timeline_remove_from_main_thread branch May 14, 2024 14:12
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.

None yet

2 participants