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

Fix rules update script #221

Open
KingSupernova31 opened this issue Jan 26, 2025 · 2 comments
Open

Fix rules update script #221

KingSupernova31 opened this issue Jan 26, 2025 · 2 comments

Comments

@KingSupernova31
Copy link
Owner

RG's CR is a year out of date for some reason. Fix whatever error caused this, and in accordance with #218, ensure that something like this can't happen again without emailing me about the error.

@KingSupernova31
Copy link
Owner Author

KingSupernova31 commented Jan 29, 2025

Ah, it's running out of memory and the OS is killing it silently.

Fix (do both):

  • Make the regular jobs script detect if a subtask failed to finish, and throw an error if so.
  • Make the update script use less memory, there's no reason it needs to load all cards and sets in memory at once.
  • Add swap space.

@KingSupernova31
Copy link
Owner Author

Oh, if I end up just letting it use lots of memory, ensure that PM2 isn't going to kill it. --max-memory-restart 2G

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant