mirror of
https://github.com/Lost-MSth/Arcaea-server.git
synced 2026-02-06 23:57:50 +08:00
[Enhance] Performance optimization
- Change journal mode to WAL and enlarge cache size for sqlite3 database - Use monkey patch to do asynchrony - Make gevent use Flask's logger
This commit is contained in:
@@ -314,4 +314,7 @@ primary key(course_id, item_id, type)
|
||||
);
|
||||
|
||||
create index if not exists best_score_1 on best_score (song_id, difficulty);
|
||||
create index if not exists download_token_1 on download_token (song_id, file_name);
|
||||
create index if not exists download_token_1 on download_token (song_id, file_name);
|
||||
|
||||
PRAGMA journal_mode = WAL;
|
||||
PRAGMA default_cache_size = 8000;
|
||||
Reference in New Issue
Block a user