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

Throttle map list generation #1078

Open
tsa96 opened this issue Dec 1, 2024 · 0 comments
Open

Throttle map list generation #1078

tsa96 opened this issue Dec 1, 2024 · 0 comments
Assignees
Labels
For: Backend This is something to do for the backend (server folder) of the website. Priority: High Should be done first and foremost, absolutely essential for this release. Size: Small Something that may take a day at most to do.

Comments

@tsa96
Copy link
Member

tsa96 commented Dec 1, 2024

Static map list generation is quite slow, especially for large maps, we limit various aspects of map submission but someone could potentially force lots of list generations by spamming status changes.

We could fight this on a very granular level, but I think it's probably easiest to just limit how frequently lists are generated. Have a constant minimum time between list regens, then if a regen is requested below that time, schedule for after that time. Maybe best to do in RxJS.

@tsa96 tsa96 self-assigned this Dec 1, 2024
@tsa96 tsa96 added For: Backend This is something to do for the backend (server folder) of the website. Size: Small Something that may take a day at most to do. Priority: High Should be done first and foremost, absolutely essential for this release. labels Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
For: Backend This is something to do for the backend (server folder) of the website. Priority: High Should be done first and foremost, absolutely essential for this release. Size: Small Something that may take a day at most to do.
Projects
None yet
Development

No branches or pull requests

1 participant