Commit Graph

189 Commits

Author SHA1 Message Date
37955cfebf remove the Queue interface 2021-07-11 08:16:46 +02:00
91bf75b43b remove one arg from q.Add (name), rename taskVacuumServerDB -> taskVacuumServerData 2021-07-11 08:09:15 +02:00
4154d6c133 rename one of the directories (internal -> pkg) 2021-07-11 07:43:44 +02:00
8849e1ced0
Merge pull request #15 from tribalwarshelp/fix/remove-v
fix: deployed version is now pushed without 'v'
2021-07-08 07:04:47 +02:00
64b67f0796 fix: deployed version is now pushed without 'v' 2021-07-08 07:04:30 +02:00
dafead2b3a
Merge pull request #14 from tribalwarshelp/feat/ci-support-for-git-tags
feat: add a new workflow triggered by pushing a new git tag
2021-07-08 06:30:10 +02:00
90aa17dbbf feat: add a new workflow triggered by pushing a new git tag 2021-07-08 06:29:38 +02:00
cd4101d854
Merge pull request #13
fix(deps): update module github.com/go-redis/redis/v8 to v8.11.0
2021-07-05 19:02:21 +02:00
Renovate Bot
cff4df773c
fix(deps): update module github.com/go-redis/redis/v8 to v8.11.0 2021-07-05 11:24:49 +00:00
a16f4e7495
Merge pull request #12 from tribalwarshelp/renovate/github.com-tribalwarshelp-shared-digest
fix(deps): update github.com/tribalwarshelp/shared commit hash to f3e5bd0
2021-07-05 12:13:14 +02:00
Renovate Bot
97f786d02e
fix(deps): update github.com/tribalwarshelp/shared commit hash to f3e5bd0 2021-07-04 20:34:10 +00:00
5b199f9690
Merge pull request #10 from tribalwarshelp/renovate/circleci-golang-1.x
chore(deps): update circleci/golang docker tag to v1.16
2021-07-04 18:05:19 +02:00
bd48672c44
Merge pull request #9 from tribalwarshelp/renovate/github.com-vmihailenco-taskq-v3-3.x
fix(deps): update module github.com/vmihailenco/taskq/v3 to v3.2.4
2021-07-04 18:05:03 +02:00
Renovate Bot
eb8a1da6b6
chore(deps): update circleci/golang docker tag to v1.16 2021-07-04 16:04:52 +00:00
Renovate Bot
7315cfcd32
fix(deps): update module github.com/vmihailenco/taskq/v3 to v3.2.4 2021-07-04 16:04:48 +00:00
153b58e748
Merge pull request #8 from tribalwarshelp/renovate/github.com-tribalwarshelp-shared-digest
fix(deps): update github.com/tribalwarshelp/shared commit hash to 1eaae48
2021-07-04 18:04:30 +02:00
ce16411deb update renovate.json 2021-07-04 17:59:34 +02:00
Renovate Bot
54c578868f
fix(deps): update github.com/tribalwarshelp/shared commit hash to 1eaae48 2021-07-04 15:42:13 +00:00
2baecc6d19
Merge pull request #7 from tribalwarshelp/renovate/configure
Configure Renovate
2021-07-04 17:41:38 +02:00
Renovate Bot
dd9927e34c
Add renovate.json 2021-07-04 15:38:53 +00:00
9f39ceb69c chore: update README.md 2021-06-19 17:01:22 +02:00
fa203cf135
Merge pull request #6
chore: update README.md
2021-06-06 19:01:59 +02:00
4eac579fca chore: update README.md 2021-06-06 19:01:35 +02:00
0fee6a5052
Merge pull request #5
chore: move all files from the task package to the queue package
2021-06-05 09:14:52 +02:00
643a50171b chore: move all files from the task package to the queue package 2021-06-05 09:14:17 +02:00
1aa45851dc bump github.com/tribalwarshelp/shared 2021-05-21 22:55:47 +02:00
9713618548 fix: remove a few unnecessary sql statements 2021-05-16 10:50:27 +02:00
2ba7adcd20 correct errors / logged messages 2021-05-14 14:57:05 +02:00
818ee39bd7 remove one field from internal/cron.Config (Opts) 2021-05-14 14:07:30 +02:00
849ee6ae36 rename one package (internal/cron/tasks -> internal/cron/task), correct 'package' field in logger initialization 2021-05-14 14:02:51 +02:00
3313208707 fix: insert queries in most cases should return nothing 2021-05-12 16:42:29 +02:00
07961fe2f3 decrease the worker limit for the ennoblementsQueue 2021-05-12 15:50:21 +02:00
e38704663c
Merge pull request #4 from tribalwarshelp/bump-shared
Bump shared
2021-05-06 15:59:50 +02:00
252f2c479b update README.md 2021-05-06 15:06:38 +02:00
19b3c28ff9 change the message after running cron 2021-05-06 14:45:34 +02:00
5d195d4e1e bump github.com/tribalwarshelp/shared 2021-05-05 16:04:25 +02:00
15c7368761 taskLoadServersAndUpdateData: use twdataloader.VersionDataLoader and remove method "getServers" 2021-05-03 17:34:36 +02:00
6d4a563f2a update README.md 2021-05-03 16:40:13 +02:00
9716ccdcd1 update Dockerfile (rename the env "MODE", rename output file) 2021-05-03 16:38:03 +02:00
34b0ef9949 rename one of the packages - db -> postgres 2021-05-03 16:35:24 +02:00
cb56b313ee correct imports 2021-05-03 16:33:12 +02:00
45b2176004 bump github.com/tribalwarshelp/shared 2021-05-02 17:54:06 +02:00
eb7ea8a55c set deleted_at = now() when deleting a player 2021-05-02 06:59:36 +02:00
45f6dd9a89 remove unnecessary allocations from workerDeleteNonExistentVillages.delete 2021-05-01 17:10:24 +02:00
83c23f79ce bump github.com/tribalwarshelp/shared 2021-05-01 16:48:41 +02:00
5e8f524368 update README.md 2021-05-01 16:26:16 +02:00
443c7fb537 add a timeout to the transaction responsible for saving the updated server data 2021-05-01 16:21:49 +02:00
6008d9250c
Merge pull request #3 from tribalwarshelp/optimization
Optimization
2021-05-01 15:43:24 +02:00
39f5b460d6 uncomment lines in cron.go 2021-05-01 15:42:28 +02:00
e9248b1f71 precompute more data in workerUpdateServerData.loadTribes 2021-05-01 15:41:54 +02:00