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

p2p/sentry: status data provider refactoring #9747

Merged
merged 2 commits into from
Mar 27, 2024
Merged

Conversation

battlmonstr
Copy link
Contributor

@battlmonstr battlmonstr commented Mar 18, 2024

The responsibility to maintain the status data is moved from the stageloop Hook and MultiClient to the new StatusDataProvider. It reads the latest data from a RoDB when asked. That happens at the end of each stage loop iteration, and sometimes when any sentry stream loop reconnects a sentry client.

sync.Service and MultiClient require an instance of the StatusDataProvider now. The MessageListener is updated to depend on an external statusDataFactory.

Copy link

Quality Gate Passed Quality Gate passed

Issues
3 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@battlmonstr battlmonstr enabled auto-merge (squash) March 27, 2024 12:17
@battlmonstr battlmonstr merged commit f3f4756 into devel Mar 27, 2024
7 checks passed
@battlmonstr battlmonstr deleted the pr/status_data branch March 27, 2024 12:35
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.

2 participants