Commit Graph
18 Commits
Author SHA1 Message Date
norohind d37b836975 Fix if null value for lb type and platform in model 2021-12-01 01:38:27 +03:00
norohind 8107895c52 Explicit rename tag to Tag column 2021-12-01 01:34:56 +03:00
norohind d483040901 Fix new_stats.name for deleted squadrons 2021-12-01 01:30:16 +03:00
norohind ebefef349d Autoreconnect on error 2021-11-30 17:33:46 +03:00
norohind c1678b8d8d Show entries with Diff < 0 (in theory, deleted squads) 2021-11-30 17:08:20 +03:00
norohind 09d3f86c00 Remove support for sqlite 2021-11-30 16:54:16 +03:00
norohind 36bb3a78eb fix /diff when squad starts to exists in leaderboard 2021-11-30 16:20:51 +03:00
norohind fdaa579ec0 Read reqs in postgres should be in transactions
In order to prevent break whole program instance by one failed request
2021-11-28 18:29:48 +03:00
norohind e822cd06c9 Return original columns names for postgres 2021-11-28 17:58:13 +03:00
norohind b056aeba2a Measure exec time only on DEBUG log level 2021-11-28 17:18:42 +03:00
norohind 3757cc1b07 call open_model must be done by web.py and main.py by themself 2021-11-28 17:11:47 +03:00
norohind d30bc56c9e Took out env vars extracting to config.py 2021-11-28 16:57:55 +03:00
norohind 145cb8a19b Remove more hardcoded secrets 2021-11-28 14:07:39 +03:00
norohind 702ab34154 Add logging for models 2021-11-28 14:03:39 +03:00
norohind 1a692df820 Abstract model for support both DBMS 2021-11-28 03:18:41 +03:00
norohind bfd2f785a9 sqlite_cache safety 2021-11-28 02:38:56 +03:00
norohind 089451745c Remove hardcoded values 2021-11-28 02:36:52 +03:00
norohind b5d0c43b7e WIP: migration from sqlite to postgres 2021-11-28 02:28:31 +03:00