|
6994607e0c
|
add taskUpdateEnnoblements
|
2021-04-25 19:06:17 +02:00 |
|
|
1598b833bb
|
add taskVacuumServerDB
|
2021-04-25 18:59:16 +02:00 |
|
|
349d8e9b59
|
rename taskLoadServers -> taskLoadServersAndUpdateData, taskLoadVersions -> taskLoadVersionsAndUpdateServerData
|
2021-04-25 17:37:08 +02:00 |
|
|
dea3d4616a
|
huge refactor
|
2021-04-25 17:02:58 +02:00 |
|
|
14db4b04bb
|
add .idea to .gitignore, change updateStats/updateHistory condition
|
2021-03-30 20:23:52 +02:00 |
|
|
60e2b58fbf
|
remove 2 log.Infofs
|
2021-01-15 22:11:03 +01:00 |
|
|
4655d2b892
|
handler.updateServerEnnoblements uses its own pool
|
2021-01-15 20:08:48 +01:00 |
|
|
a4da69e085
|
- update github.com/tribalwarshelp/shared
- add a new worker - updateServerEnnoblementsWorker
- delete the updateServerDataWorker.loadEnnoblements method
|
2021-01-15 18:25:13 +01:00 |
|
|
20bfc7e8da
|
bump github.com/tribalwarshelp/shared and update some error messages
|
2021-01-13 20:27:20 +01:00 |
|
|
909d3491af
|
bump github.com/tribalwarshelp/shared, update triggers and how we create schemas for servers
|
2021-01-09 15:26:04 +01:00 |
|
|
fdb90d5a87
|
bugfixes
|
2020-12-31 08:33:56 -05:00 |
|
|
4fe3c3bcd8
|
fix error with doubled timezones, fix 'timezone' field
|
2020-12-31 02:34:06 +01:00 |
|
|
a1d45ebf2d
|
one connection pool for handler
|
2020-12-31 01:45:10 +01:00 |
|
|
7aa730b7d4
|
change updateStats and updateHistory time initialization
|
2020-12-31 00:06:46 +01:00 |
|
|
10f735075c
|
BREAKING CHANGE - run updateStats and updateHistory separately for each version
|
2020-12-30 23:57:23 +01:00 |
|
|
a7be1449fa
|
delete player/tribe history and daily player/tribe stats records that are older than 180 days or when a player hasn't logged in for 14 days after the deletion
|
2020-12-28 13:09:54 +01:00 |
|
|
56de789835
|
handler no longer closes a pool
|
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 |
|
|
92adb94132
|
update tribalwarshelp/shared package, performance improvements
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
df1c27e277
|
fix bug with 0 best rank
|
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 |
|
|
c2afb2144a
|
improve performance, bump github.com/tribalwarshelp/shared
|
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 |
|
|
b0244869d1
|
refactor
|
2020-11-18 12:51:57 +01:00 |
|
|
15bc841486
|
uncomment h.updateServersData()
|
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 |
|
|
7bca0d25e5
|
add 2 new triggers, one logs player name change, second sets deleted_at | bump github.com/tribalwarshelp/shared
|
2020-11-18 12:51:15 +01:00 |
|
|
bf958c88b6
|
dominance is now expressed as a percentage
|
2020-11-18 12:51:15 +01:00 |
|
|
ba72affcfb
|
bump github.com/tribalwarshelp/shared, add a new trigger that inserts player_id and server_key to player_to_servers table
|
2020-11-18 12:50:49 +01:00 |
|
|
829c45db31
|
cron saves and calculates player.daily_growth
|
2020-11-18 12:49:45 +01:00 |
|
|
e9ecec51e8
|
cron should not store special servers in db, bump github.com/tribalwarshelp/shared
|
2020-11-18 12:49:45 +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 |
|
|
fc6d815404
|
fetch server config/unit_config/building_config
|
2020-06-19 17:42:38 +02:00 |
|
|
2c669bf778
|
rename file server_handler -> update_server_data_handler, rename struct serverHandler -> updateServerDataHandler
|
2020-06-18 13:02:15 +02:00 |
|
|
803dc9b9c2
|
bump github.com/tribalwarshelp/shared
|
2020-06-02 17:47:36 +02:00 |
|
|
1203c574dd
|
fix concurrency bug
|
2020-06-02 12:09:32 +02:00 |
|
|
9041745d61
|
move models and mode package to other repo
|
2020-06-02 08:26:51 +02:00 |
|