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

Improve the readability of the SwrCache class #66

Merged
merged 1 commit into from
Aug 17, 2024
Merged

Conversation

ogaclejapan
Copy link
Contributor

@ogaclejapan ogaclejapan commented Aug 17, 2024

The scheduling logic for batch tasks, originally implemented in the SwrCache class, has been extracted into a new class called BatchScheduler. This separation of concerns allows for better maintainability and reusability of code.

Additionally, the SwrCachePolicy class has been moved to its own file. This separation of classes into individual files makes the codebase more navigable and easier to understand.

refs: #44

The scheduling logic for batch tasks, originally implemented in the SwrCache class, has been extracted into a new class
called BatchScheduler. This separation of concerns allows for better maintainability and reusability of code.

Additionally, the SwrCachePolicy class has been moved to its own file. This separation of classes into individual files
makes the codebase more navigable and easier to understand.

refs: #44
@ogaclejapan ogaclejapan merged commit d5da761 into main Aug 17, 2024
1 check passed
@ogaclejapan ogaclejapan deleted the batch-scheduler branch August 17, 2024 07:19
ogaclejapan added a commit that referenced this pull request Aug 31, 2024
By making it a factory function, it is possible to defer creation until it is needed.

refs: #66
ogaclejapan added a commit that referenced this pull request Aug 31, 2024
By making it a factory function, it is possible to defer creation until it is needed.

refs: #66
@github-actions github-actions bot mentioned this pull request Sep 8, 2024
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.

1 participant