Dawid Wysokiński
|
19b3c28ff9
|
change the message after running cron
|
2021-05-06 14:45:34 +02:00 |
Dawid Wysokiński
|
5d195d4e1e
|
bump github.com/tribalwarshelp/shared
|
2021-05-05 16:04:25 +02:00 |
Dawid Wysokiński
|
15c7368761
|
taskLoadServersAndUpdateData: use twdataloader.VersionDataLoader and remove method "getServers"
|
2021-05-03 17:34:36 +02:00 |
Dawid Wysokiński
|
6d4a563f2a
|
update README.md
|
2021-05-03 16:40:13 +02:00 |
Dawid Wysokiński
|
9716ccdcd1
|
update Dockerfile (rename the env "MODE", rename output file)
|
2021-05-03 16:38:03 +02:00 |
Dawid Wysokiński
|
34b0ef9949
|
rename one of the packages - db -> postgres
|
2021-05-03 16:35:24 +02:00 |
Dawid Wysokiński
|
cb56b313ee
|
correct imports
|
2021-05-03 16:33:12 +02:00 |
Dawid Wysokiński
|
45b2176004
|
bump github.com/tribalwarshelp/shared
|
2021-05-02 17:54:06 +02:00 |
Dawid Wysokiński
|
eb7ea8a55c
|
set deleted_at = now() when deleting a player
|
2021-05-02 06:59:36 +02:00 |
Dawid Wysokiński
|
45f6dd9a89
|
remove unnecessary allocations from workerDeleteNonExistentVillages.delete
|
2021-05-01 17:10:24 +02:00 |
Dawid Wysokiński
|
83c23f79ce
|
bump github.com/tribalwarshelp/shared
|
2021-05-01 16:48:41 +02:00 |
Dawid Wysokiński
|
5e8f524368
|
update README.md
|
2021-05-01 16:26:16 +02:00 |
Dawid Wysokiński
|
443c7fb537
|
add a timeout to the transaction responsible for saving the updated server data
|
2021-05-01 16:21:49 +02:00 |
Dawid Wysokiński
|
6008d9250c
|
Merge pull request #3 from tribalwarshelp/optimization
Optimization
|
2021-05-01 15:43:24 +02:00 |
Dawid Wysokiński
|
39f5b460d6
|
uncomment lines in cron.go
|
2021-05-01 15:42:28 +02:00 |
Dawid Wysokiński
|
e9248b1f71
|
precompute more data in workerUpdateServerData.loadTribes
|
2021-05-01 15:41:54 +02:00 |
Dawid Wysokiński
|
674f1fe63c
|
- delete triggers: check_daily_growth, check_existence, check_dominance
- precompute more data in workerUpdateServerData.loadPlayers
|
2021-05-01 15:22:28 +02:00 |
Dawid Wysokiński
|
22c5a20ee8
|
delete trigger insert_into_player_to_servers
|
2021-05-01 14:22:04 +02:00 |
Dawid Wysokiński
|
ff6ad10c27
|
Merge pull request #2 from tribalwarshelp/taskq
feat: taskq
|
2021-05-01 08:41:31 +02:00 |
Dawid Wysokiński
|
fa23651644
|
delete dev.sh
|
2021-05-01 08:29:32 +02:00 |
Dawid Wysokiński
|
125c597a56
|
go mod tidy
|
2021-05-01 08:28:36 +02:00 |
Dawid Wysokiński
|
01299b1841
|
add a new task - taskServerDeleteNonExistentVillages
|
2021-05-01 08:27:20 +02:00 |
Dawid Wysokiński
|
97e638697c
|
add a new task - taskDeleteNonExistentVillages
|
2021-05-01 07:43:34 +02:00 |
Dawid Wysokiński
|
cb6e110e39
|
move most of the code to the 'internal' directory
|
2021-05-01 07:24:02 +02:00 |
Dawid Wysokiński
|
f70d608eab
|
bump github.com/Kichiyaki/go-pg-logrus-query-logger/v10
|
2021-04-28 20:13:14 +02:00 |
Dawid Wysokiński
|
d6a79d63fc
|
don't inform about establishing the db connection
|
2021-04-28 19:51:48 +02:00 |
Dawid Wysokiński
|
352d26a61e
|
add a new field to the Cron type - log
|
2021-04-27 20:18:06 +02:00 |
Dawid Wysokiński
|
ef73f63195
|
remove custom type 'Name' from the queue package
|
2021-04-27 20:10:14 +02:00 |
Dawid Wysokiński
|
add1379e0b
|
make messages more clear, fix most of the unhandled error
|
2021-04-27 20:06:38 +02:00 |
Dawid Wysokiński
|
e29807e077
|
move task registration/queue creation logic to the cron package
|
2021-04-27 18:30:12 +02:00 |
Dawid Wysokiński
|
35045af75f
|
refactor, update README.md, move queue.Config to the separate file
|
2021-04-25 20:24:26 +02:00 |
Dawid Wysokiński
|
c6c028b0d5
|
uncomment a few lines in the file cron.go, refactor task initialization
|
2021-04-25 20:14:21 +02:00 |
Dawid Wysokiński
|
46ca716cd3
|
add taskUpdateServerStats
|
2021-04-25 20:06:08 +02:00 |
Dawid Wysokiński
|
8f093978bd
|
add taskUpdateServerHistory
|
2021-04-25 19:58:33 +02:00 |
Dawid Wysokiński
|
7ec3669788
|
cleanup
|
2021-04-25 19:45:09 +02:00 |
Dawid Wysokiński
|
4f94e2f920
|
add taskUpdateStats and taskUpdateHistory
|
2021-04-25 19:42:03 +02:00 |
Dawid Wysokiński
|
62f2722177
|
remove sql_statements from the cron package
|
2021-04-25 19:21:13 +02:00 |
Dawid Wysokiński
|
cc79a33e00
|
add taskUpdateServerEnnoblements
|
2021-04-25 19:20:38 +02:00 |
Dawid Wysokiński
|
6994607e0c
|
add taskUpdateEnnoblements
|
2021-04-25 19:06:17 +02:00 |
Dawid Wysokiński
|
1598b833bb
|
add taskVacuumServerDB
|
2021-04-25 18:59:16 +02:00 |
Dawid Wysokiński
|
f058facc32
|
add taskVacuum
|
2021-04-25 18:46:31 +02:00 |
Dawid Wysokiński
|
30355785bc
|
don't wrap cron functions into utils.TrackExecutionTime
|
2021-04-25 18:37:55 +02:00 |
Dawid Wysokiński
|
579de07fb7
|
cleanup
|
2021-04-25 18:23:37 +02:00 |
Dawid Wysokiński
|
072554cef8
|
add taskUpdateServerData
|
2021-04-25 18:21:34 +02:00 |
Dawid Wysokiński
|
349d8e9b59
|
rename taskLoadServers -> taskLoadServersAndUpdateData, taskLoadVersions -> taskLoadVersionsAndUpdateServerData
|
2021-04-25 17:37:08 +02:00 |
Dawid Wysokiński
|
cdd8c9b03f
|
add taskLodVersions
|
2021-04-25 17:21:32 +02:00 |
Dawid Wysokiński
|
dea3d4616a
|
huge refactor
|
2021-04-25 17:02:58 +02:00 |
Dawid Wysokiński
|
4e051b0a5f
|
move queue names to constants, add the Queue interface, implement the Queue interface
|
2021-04-25 14:51:41 +02:00 |
Dawid Wysokiński
|
55d2a5b0ab
|
add github.com/go-redis/redis/v8 and github.com/vmihailenco/taskq/v3
|
2021-04-25 14:21:51 +02:00 |
Dawid Wysokiński
|
eef2263660
|
Merge remote-tracking branch 'origin/master' into taskq
# Conflicts:
# go.mod
# go.sum
|
2021-04-25 14:16:11 +02:00 |