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

Refactor variable usage #42

Merged
merged 8 commits into from
Feb 17, 2025
Merged

Refactor variable usage #42

merged 8 commits into from
Feb 17, 2025

Conversation

Wraient
Copy link
Owner

@Wraient Wraient commented Feb 17, 2025

  • Logfile is a global variable, no need to specify it in every call
  • Anime is an global variable any function can use it without being passed

justchokingaround and others added 8 commits February 8, 2025 19:23
- Add IsAiring field to track airing status of anime
- Improve GetAnimeDataByID to fetch and handle airing status
- Fix completion logic for currently airing shows
- Add parallel processing of source URLs with goroutines
- Implement rate limiting (50ms) to prevent API overload
- Add timeout handling (10s) for request completion
- Maintain result order using ordered collection
- Add error handling and partial result recovery
- Improve logging for better debugging
- Logfile is a global variable, no need to specify it in every call
- Anime is an global variable any function can use it without being passed
@Wraient Wraient merged commit 05e8af4 into main Feb 17, 2025
1 check passed
@Wraient Wraient deleted the refactor-variable-usage branch February 21, 2025 04:45
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