|
f70d608eab
|
bump github.com/Kichiyaki/go-pg-logrus-query-logger/v10
|
2021-04-28 20:13:14 +02:00 |
|
|
d6a79d63fc
|
don't inform about establishing the db connection
|
2021-04-28 19:51:48 +02:00 |
|
|
352d26a61e
|
add a new field to the Cron type - log
|
2021-04-27 20:18:06 +02:00 |
|
|
ef73f63195
|
remove custom type 'Name' from the queue package
|
2021-04-27 20:10:14 +02:00 |
|
|
add1379e0b
|
make messages more clear, fix most of the unhandled error
|
2021-04-27 20:06:38 +02:00 |
|
|
e29807e077
|
move task registration/queue creation logic to the cron package
|
2021-04-27 18:30:12 +02:00 |
|
|
35045af75f
|
refactor, update README.md, move queue.Config to the separate file
|
2021-04-25 20:24:26 +02:00 |
|
|
c6c028b0d5
|
uncomment a few lines in the file cron.go, refactor task initialization
|
2021-04-25 20:14:21 +02:00 |
|
|
46ca716cd3
|
add taskUpdateServerStats
|
2021-04-25 20:06:08 +02:00 |
|
|
8f093978bd
|
add taskUpdateServerHistory
|
2021-04-25 19:58:33 +02:00 |
|
|
7ec3669788
|
cleanup
|
2021-04-25 19:45:09 +02:00 |
|
|
4f94e2f920
|
add taskUpdateStats and taskUpdateHistory
|
2021-04-25 19:42:03 +02:00 |
|
|
62f2722177
|
remove sql_statements from the cron package
|
2021-04-25 19:21:13 +02:00 |
|
|
cc79a33e00
|
add taskUpdateServerEnnoblements
|
2021-04-25 19:20:38 +02:00 |
|
|
6994607e0c
|
add taskUpdateEnnoblements
|
2021-04-25 19:06:17 +02:00 |
|
|
1598b833bb
|
add taskVacuumServerDB
|
2021-04-25 18:59:16 +02:00 |
|
|
f058facc32
|
add taskVacuum
|
2021-04-25 18:46:31 +02:00 |
|
|
30355785bc
|
don't wrap cron functions into utils.TrackExecutionTime
|
2021-04-25 18:37:55 +02:00 |
|
|
579de07fb7
|
cleanup
|
2021-04-25 18:23:37 +02:00 |
|
|
072554cef8
|
add taskUpdateServerData
|
2021-04-25 18:21:34 +02:00 |
|
|
349d8e9b59
|
rename taskLoadServers -> taskLoadServersAndUpdateData, taskLoadVersions -> taskLoadVersionsAndUpdateServerData
|
2021-04-25 17:37:08 +02:00 |
|
|
cdd8c9b03f
|
add taskLodVersions
|
2021-04-25 17:21:32 +02:00 |
|
|
dea3d4616a
|
huge refactor
|
2021-04-25 17:02:58 +02:00 |
|
|
4e051b0a5f
|
move queue names to constants, add the Queue interface, implement the Queue interface
|
2021-04-25 14:51:41 +02:00 |
|
|
55d2a5b0ab
|
add github.com/go-redis/redis/v8 and github.com/vmihailenco/taskq/v3
|
2021-04-25 14:21:51 +02:00 |
|
|
eef2263660
|
Merge remote-tracking branch 'origin/master' into taskq
# Conflicts:
# go.mod
# go.sum
|
2021-04-25 14:16:11 +02:00 |
|
|
ff38936d1e
|
bump github.com/tribalwarshelp/shared, update .gitignore and logrus setup
|
2021-04-23 21:20:01 +02:00 |
|
|
b1dcb88ef4
|
bump github.com/tribalwarshelp/shared
|
2021-04-03 08:41:56 +02:00 |
|
|
14db4b04bb
|
add .idea to .gitignore, change updateStats/updateHistory condition
|
2021-03-30 20:23:52 +02:00 |
|
|
6d3dbe2146
|
update go version in the go.mod file
|
2021-02-23 18:09:54 +01:00 |
|
|
a505cc9f31
|
add a new package - queue
|
2021-02-14 19:19:30 +01:00 |
|
|
b78011b0b7
|
update docker repository in .circleci/config.yml
|
2021-02-06 12:39:26 +01:00 |
|
|
24f0c5b3ae
|
update working_directory in .circleci/config.yml
|
2021-02-06 12:04:05 +01:00 |
|
|
a77d1cf53b
|
add .circleci
|
2021-02-06 12:03:27 +01:00 |
|
|
1af38e200f
|
bump github.com/tribalwarshelp/shared
|
2021-01-16 20:55:11 +01: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 |
|
|
c093d35a3b
|
Merge pull request #1 from tribalwarshelp/fetch-ennoblements-separately
fetch ennoblements separately from other server data
|
2021-01-15 18:29:54 +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 |
|
|
54502843cc
|
[update_most_points_most_villages_best_rank_last_activity] fix player.last_activity condition
|
2021-01-09 17:10:00 +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 |
|
|
7cb285b924
|
fix bug with player_id = null in 'player_changes' table
|
2021-01-07 05:54:07 +01:00 |
|
|
0e119a6c66
|
bump github.com/tribalwarshelp/shared and go-pg
|
2021-01-06 17:40:58 +01:00 |
|
|
95abc4231c
|
bump github.com/tribalwarshelp/shared
|
2021-01-01 16:17:39 +01:00 |
|
|
ea07784eca
|
add support for the Slovak version
|
2021-01-01 15:38:51 +01:00 |
|
|
fb0dbc15c0
|
remove unnecessary check
|
2021-01-01 14:21:54 +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 |
|