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

Reduce memory usage on startup #151

Merged
merged 5 commits into from
Jun 6, 2024
Merged

Reduce memory usage on startup #151

merged 5 commits into from
Jun 6, 2024

Conversation

ChrisLovering
Copy link
Member

@ChrisLovering ChrisLovering commented Jun 6, 2024

This PR also moves some code around to shared util functions, to reduce the size of the cogs themselves.

The only commit with actual new code is a03c02c

@ChrisLovering ChrisLovering requested a review from jb3 as a code owner June 6, 2024 19:26
@ChrisLovering ChrisLovering force-pushed the reduce-memory-usage-on-startuyp branch from 9f3ec0d to 2284ec8 Compare June 6, 2024 19:29
This reduces the memory required on bot startup
@ChrisLovering ChrisLovering force-pushed the reduce-memory-usage-on-startuyp branch from 2284ec8 to a03c02c Compare June 6, 2024 19:29
Copy link
Member

@shtlrs shtlrs left a comment

Choose a reason for hiding this comment

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

Untested, but looks good.

@jb3 jb3 merged commit 5b0f6b6 into main Jun 6, 2024
4 checks passed
@jb3 jb3 deleted the reduce-memory-usage-on-startuyp branch June 6, 2024 19:46
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.

3 participants