Commit Graph

24 Commits

Author SHA1 Message Date
Dawid Wysokiński 244cbadb36 delete the pkg directory 2021-07-16 17:49:01 +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 352d26a61e add a new field to the Cron type - log 2021-04-27 20:18:06 +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 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 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 30355785bc don't wrap cron functions into utils.TrackExecutionTime 2021-04-25 18:37:55 +02:00
Dawid Wysokiński 072554cef8 add taskUpdateServerData 2021-04-25 18:21:34 +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 a4da69e085 - update github.com/tribalwarshelp/shared
- add a new worker - updateServerEnnoblementsWorker
- delete the updateServerDataWorker.loadEnnoblements method
2021-01-15 18:25:13 +01:00
Dawid Wysokiński 4fe3c3bcd8 fix error with doubled timezones, fix 'timezone' field 2020-12-31 02:34:06 +01:00
Dawid Wysokiński a1d45ebf2d one connection pool for handler 2020-12-31 01:45:10 +01:00
Dawid Wysokiński 10f735075c BREAKING CHANGE - run updateStats and updateHistory separately for each version 2020-12-30 23:57:23 +01:00
Dawid Wysokiński 9d0bd7831d make running cron jobs on startup optional 2020-12-23 17:52:04 +01:00
Dawid Wysokiński 92adb94132 update tribalwarshelp/shared package, performance improvements 2020-11-18 12:54:19 +01:00
Dawid Wysokiński 31c7dc52b3 uncomment unnecessary commented lines 2020-11-18 12:54:19 +01:00
Dawid Wysokiński 1ef0ee381f log system improved, performance improvements 2020-11-18 12:54:19 +01:00