ComputerScienceHouse / packet

Web packet written in Python for Computer Science House
MIT License
23 stars 26 forks source link

Limit Freshmen Visible Entries #332

Open jabbate19 opened 2 years ago

jabbate19 commented 2 years ago

/admin/freshmen literally cannot load before timing out because it is trying to generate all of the freshmen of the last 5 years. Evals doesn't need to see old freshmen accounts, and 300 is more than enough to see all current freshmen.

If you want me to make it smaller let me know, tbh I think even 150 would be fine

mxmeinhold commented 2 years ago

What about having it load incrementally, or be paginated? I think either would be a bit nicer than just a query limit.