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

Proper msg caching #443

Closed
wants to merge 6 commits into from
Closed

Proper msg caching #443

wants to merge 6 commits into from

Conversation

Retropaint
Copy link
Contributor

@Retropaint Retropaint commented Sep 26, 2024

This PR replaces the default 100 cabinet message limit imposed by Arikawa, to the message limit specified in the user config. This prevents loading more messages than necessary since Cabinet retrieves from API if things are missing, wasting half of the messages being sent if using the default config (of 50 messages).

Somewhat unrelated but still applies: also added a limit of 100 to MessagesLimit

@Retropaint Retropaint closed this Sep 26, 2024
@Retropaint
Copy link
Contributor Author

Since I'm considering #444, this issue should be resolved along with it.

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