Commit Graph

225 Commits

Author SHA1 Message Date
9d0bd7831d make running cron jobs on startup optional 2020-12-23 17:52:04 +01:00
a95c40399c update README.md, set tribe_id = 0 when flagging a player as deleted 2020-12-23 17:46:05 +01:00
31ba00a004 remove unnecessary import 2020-12-22 18:21:52 +01:00
0bc1cdbd94 make db pool size configurable 2020-12-22 18:20:30 +01:00
b2d4135372 fix duplicate name changes, delete unneeded function (updateServerDataWorker.parseEnnoblementLine) 2020-12-04 20:22:12 +01:00
56de789835 handler no longer closes a pool 2020-11-18 12:54:20 +01:00
b694d73532 update readme.md 2020-11-18 12:54:20 +01:00
c4a281bc76 bump github.com/tribalwarshelp/shared 2020-11-18 12:54:19 +01:00
0344c6a239 refactor: move data fetching logic to separate package 2020-11-18 12:54:19 +01:00
505cac4de7 remove unnecessary return 2020-11-18 12:54:19 +01:00
4b3a652f71 changed error messages 2020-11-18 12:54:19 +01:00
92adb94132 update tribalwarshelp/shared package, performance improvements 2020-11-18 12:54:19 +01:00
31c7dc52b3 uncomment unnecessary commented lines 2020-11-18 12:54:19 +01:00
1ef0ee381f log system improved, performance improvements 2020-11-18 12:54:19 +01:00
ad8cdc6926 delete readme.md, add the option to download data for more than one server at the same time 2020-11-18 12:54:19 +01:00
fc0af6a9f3 csv reader shouldn't return error about lazy quotes from now, lang versions are sorted alphabetically 2020-11-18 12:54:19 +01:00
8bec38dae5 improve handler.vacuumDatabase, handler.updateServersStats, handler.updateHistory performance 2020-11-18 12:54:19 +01:00
1fd2d805f9 update README.md 2020-11-18 12:54:19 +01:00
9ef0130e6d change a naming convention, add 'master' server to special servers, updateServerDataWorker fallbacks to not gzipped file 2020-11-18 12:53:32 +01:00
2a96dd4aee add missing lang versions and their special servers 2020-11-18 12:53:32 +01:00
fe21fa5a94 update Dockerfile 2020-11-18 12:53:32 +01:00
198a436b15 update allVersionsPGInsertStatements 2020-11-18 12:53:32 +01:00
c640446d03 Update README.md 2020-11-18 12:53:32 +01:00
f1a32a0293 correct typo 2020-11-18 12:53:32 +01:00
0ee1555782 correct typo 2020-11-18 12:53:32 +01:00
7c978243e8 add LICENSE, update DOCKERFILE 2020-11-18 12:53:32 +01:00
a052ed8575 add LICENSE and README.md, cron now inserts all versions and all special servers into the database 2020-11-18 12:53:32 +01:00
56146c989c cron shouldn't set the server status to closed for a version that hasn't been loaded 2020-11-18 12:53:32 +01:00
408296ae5b add readme.md 2020-11-18 12:53:32 +01:00
6327450a0b fix typos 2020-11-18 12:53:32 +01:00
692de15a51 remove allservers cache 2020-11-18 12:53:32 +01:00
efc51d5060 cron should clear all servers cache 2020-11-18 12:53:32 +01:00
5ab238139b cron should cache all servers for api middleware 2020-11-18 12:53:32 +01:00
9b8488e64f optimization 2020-11-18 12:53:32 +01:00
df1c27e277 fix bug with 0 best rank 2020-11-18 12:53:32 +01:00
73eb7114c7 bump github.com/tribalwarshelp/shared 2020-11-18 12:53:32 +01:00
6753e5c61e cron should log tribe change on insert too 2020-11-18 12:53:32 +01:00
88a9860ac5 bump github.com/tribalwarshelp/shared 2020-11-18 12:53:32 +01:00
547faefe55 bump github.com/tribalwarshelp/shared 2020-11-18 12:53:32 +01:00
d18506700d updateServersData should not stop after error 2020-11-18 12:53:32 +01:00
237f870abc fix typo, add a new constant - serverPGDefaulValues 2020-11-18 12:52:04 +01:00
5c069c919f fix bug with saving best rank (lower rank should be better) 2020-11-18 12:51:57 +01:00
f53d427bf7 small performance fix 2020-11-18 12:51:57 +01:00
c2afb2144a improve performance, bump github.com/tribalwarshelp/shared 2020-11-18 12:51:57 +01:00
9c78f11b51 optimize updateServerData 2020-11-18 12:51:57 +01:00
d90c603aa9 rename package to github.com/tribalwarshelp/cron | change number of updating servers concurrently 2020-11-18 12:51:57 +01:00
f659fc9bc3 bump github.com/tribalwarshelp/shared 2020-11-18 12:51:57 +01:00
a213f2cfcd bump github.com/tribalwarshelp/shared 2020-11-18 12:51:57 +01:00
b0244869d1 refactor 2020-11-18 12:51:57 +01:00
15bc841486 uncomment h.updateServersData() 2020-11-18 12:51:57 +01:00