Closed RasmusKard closed 1 year ago
Issue is caused by re-roll, could deprecate the feature but the performance hit would be significant when re-rolling. The filtered pandas dataframe is at times being cleared out between requests, need to figure out a way to make it persistent while the user is on the site.
Potential ideas:
Attempting to use flask_session library for server-side session file storage, having issues with sessions sharing files.
Seems to be working. Needs some further testing and deletion of redundant session files.
8bb4dafcaad9d9ddc18f92802bb5b88387ad1e87
Using flask_session to store files was too slow. Ended up using pandas to store the data in a parquet file.
Parquet files are being deleted by file creation age or if the directory reaches the max allowed amount of files.
61b73d1080f4b753decadb594462a05a05dd7933
Need to cache?