Commit Graph

18 Commits

Author SHA1 Message Date
6327450a0b fix typos 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
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
f659fc9bc3 bump github.com/tribalwarshelp/shared 2020-11-18 12:51:57 +01:00
b0244869d1 refactor 2020-11-18 12:51:57 +01:00
ed8dd20dd8 add database vacuum cleaner, move all sql statements to separate file, cron saves daily player/tribe stats 2020-11-18 12:51:43 +01:00
bf958c88b6 dominance is now expressed as a percentage 2020-11-18 12:51:15 +01:00
829c45db31 cron saves and calculates player.daily_growth 2020-11-18 12:49:45 +01:00
0ee2f8f52d tribe dominance should be calculated based on the number of player villages, a number of barbarian villages should include a number of bonus villages (server stats) 2020-11-18 12:43:08 +01:00
1a07278d62 bump github.com/tribalwarshelp/shared 2020-11-18 12:43:08 +01:00
5509ffded0 cron fetches conquers and saves server stats and history, bump github.com/tribalwarshelp/shared 2020-11-18 12:42:34 +01:00
ed14e23638 bump github.com/tribalwarshelp/shared 2020-06-19 18:33:54 +02:00
fc6d815404 fetch server config/unit_config/building_config 2020-06-19 17:42:38 +02:00
80baa079e2 fix bug with empty string 2020-06-18 17:56:07 +02:00
2c669bf778 rename file server_handler -> update_server_data_handler, rename struct serverHandler -> updateServerDataHandler 2020-06-18 13:02:15 +02:00