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

Add more comments #73

Merged
merged 1 commit into from
Jan 19, 2024
Merged

Add more comments #73

merged 1 commit into from
Jan 19, 2024

Conversation

dcadenas
Copy link
Contributor

This is just a documentation PR to better understand how the events service internals work

@dcadenas dcadenas requested a review from mplorentz January 17, 2024 19:00
Copy link
Member

@mplorentz mplorentz left a comment

Choose a reason for hiding this comment

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

These look really helpful!

// RelayTaskGenerator maintains 3 TimeWindowTaskGenerator, one for each query
// type. Each TimeWindowTaskGenerator maintains a list of TimeWindowTaskTracker,
// one for each time window. Each TimeWindowTaskTracker maintains a list of
// runningRelayDownloader, one for each concurrency setting. Each TimeWindowTaskTracker uses a TimeWindow
Copy link
Member

Choose a reason for hiding this comment

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

Interesting. We have very similar code to this in the iOS app.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Maybe this should be extracted into a library at some point

@dcadenas dcadenas merged commit dc8a851 into main Jan 19, 2024
2 checks passed
@dcadenas dcadenas deleted the more-comments branch January 19, 2024 14:47
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