/admin/freshmen Times Out
@VivianNK がすでに取り組んでいます。
2021年4月2日 から。
評価
この issue はまだ評価されていません。
説明
The /admin/freshmen route times out when there are lots of freshmen (~300 in prod, much more in dev). It works running locally with only two freshmen, so the issue seems to be tied to the amount of data that's being processed and rendered.
My guess is that pagination or lazy loading would solve this.
For pagination, I recommend the flask sqlalchemy paginate function.
Lazy loading is a little more complex, and might need api changes. TL;DR: rather than loading up all the freshmen, then rendering the page, the lazy load version would defer the data loading till after the page is rendered, so the user could interact with the page while it's still being populated. (I'm probably not using the term quite correctly here, but it's close enough to the idea)
- 主要言語
- Python
- スター
- 25
- フォーク
- 33
- 平均マージ
- 21日 1時間
- マージ済み PR(30日)
- 1
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ComputerScienceHouse/packet のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
ComputerScienceHouse/packet#413 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
ComputerScienceHouse/packet#411 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
ComputerScienceHouse/packet#408 ·
-
React Frontend? オープンux enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
ComputerScienceHouse/packet#404 ·
-
ux enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
ComputerScienceHouse/packet#403 ·
ComputerScienceHouse/packet の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
stephrobert/dsoxlab#238 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
sublimehq/package_control#1780 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
nwg-piotr/nwg-displays#145 ·