Commit graph

384 commits

Author SHA1 Message Date
Andre Medeiros
5603d79b29 add account repository 2021-07-24 16:17:54 -04:00
Andre Medeiros
2a5ad833eb Add golangci-lint 2021-07-24 15:44:26 -04:00
Andre Medeiros
1249f54bf2 tweak accounts and batch size 2021-07-22 21:52:29 -04:00
Andre Medeiros
5848d9584d do 2000 accounts at a time 2021-07-22 21:42:06 -04:00
Andre Medeiros
424e27b068 run scheduler 5 times per second 2021-07-22 21:35:11 -04:00
Andre Medeiros
cbcab2a992 a few more connections please 2021-07-22 21:16:41 -04:00
Andre Medeiros
7692971b89 pool size doesn't need to be that big 2021-07-22 21:11:27 -04:00
Andre Medeiros
d9b1179717 change min to max conns 2021-07-22 20:50:24 -04:00
Andre Medeiros
45bfa3039c don't require ssl 2021-07-22 20:38:13 -04:00
Andre Medeiros
29c7caa591 set up auth key with path 2021-07-22 20:32:37 -04:00
Andre Medeiros
5bc5d80447 bump pgx 2021-07-22 20:26:20 -04:00
André Medeiros
254ed001b6 Merge pull request #12 from christianselig/chore/make-render-friendly
Fixes for Render
2021-07-22 20:24:27 -04:00
André Medeiros
262beb2b67 Merge pull request #11 from christianselig/dependabot/go_modules/github.com/DataDog/datadog-go-4.8.1incompatible
Bump github.com/DataDog/datadog-go from 4.8.0+incompatible to 4.8.1+incompatible
2021-07-22 20:23:48 -04:00
Andre Medeiros
e0579fbcbd fix up for render 2021-07-22 20:22:46 -04:00
dependabot[bot]
0cea7ea214 Bump github.com/DataDog/datadog-go
Bumps [github.com/DataDog/datadog-go](https://github.com/DataDog/datadog-go) from 4.8.0+incompatible to 4.8.1+incompatible.
- [Release notes](https://github.com/DataDog/datadog-go/releases)
- [Changelog](https://github.com/DataDog/datadog-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/DataDog/datadog-go/compare/v4.8.0...v4.8.1)

---
updated-dependencies:
- dependency-name: github.com/DataDog/datadog-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-21 08:27:09 +00:00
Andre Medeiros
71f04afb8a tweak scheduler to only run one enqueue at a time 2021-07-20 14:39:01 -04:00
Andre Medeiros
04d59f280d tweak connections on scheduler 2021-07-20 13:00:53 -04:00
Andre Medeiros
f44572f9f8 change connections to see if database state improves 2021-07-20 12:57:26 -04:00
Andre Medeiros
badda4f191 only set before if last message id has contents 2021-07-15 21:18:43 -04:00
Andre Medeiros
ff27f2323d add message count to notification sender 2021-07-15 21:02:52 -04:00
Andre Medeiros
b20fa0cac9 reformat event 2021-07-15 20:59:59 -04:00
Andre Medeiros
a5e7417f6e send a notification event to datadog 2021-07-15 20:55:53 -04:00
Andre Medeiros
9db593a969 ignore some other stuff 2021-07-15 20:51:05 -04:00
Andre Medeiros
ac4765f813 tweak client settings 2021-07-15 20:50:32 -04:00
Andre Medeiros
26ca63f31b add a profile option to the commands 2021-07-15 20:09:38 -04:00
Andre Medeiros
893e5bd5a3 Use old refresh token if new one is missing 2021-07-15 18:53:22 -04:00
Andre Medeiros
fb6f7751ae print refresh token response 2021-07-15 18:47:11 -04:00
Andre Medeiros
e46082949a tweak pool args 2021-07-15 13:47:22 -04:00
Andre Medeiros
56d72d5dea only get parser when we actually need it 2021-07-15 13:40:29 -04:00
Andre Medeiros
9e77a662a3 avoid parsing JSON if it is known empty response 2021-07-15 13:27:48 -04:00
Andre Medeiros
1dc4c72da2 only populate when first message wasn't checked previously 2021-07-15 13:01:36 -04:00
Andre Medeiros
412bc04d77 remove limit logic and use reddit's before again 2021-07-15 12:05:01 -04:00
Andre Medeiros
20fe4d7ddb fix concurrency with fastjson 2021-07-15 11:51:04 -04:00
Andre Medeiros
8c1ed47d1a slices index are exclusive on the right 2021-07-15 11:16:22 -04:00
Andre Medeiros
a10ca40cb6 fix thing listing 2021-07-15 11:13:42 -04:00
André Medeiros
209f52fcf4 Merge pull request #4 from christianselig/feature/fastjson
Implement fastjson
2021-07-15 11:08:54 -04:00
Andre Medeiros
a9a329967a remove dead logic 2021-07-15 11:03:52 -04:00
Andre Medeiros
5ebac84014 remove dead code 2021-07-15 10:55:24 -04:00
Andre Medeiros
ec78363252 update notifier logic 2021-07-15 10:51:34 -04:00
Andre Medeiros
ad929b98d9 more parsing 2021-07-14 20:52:51 -04:00
Andre Medeiros
34b9159f46 use fixtures 2021-07-14 15:49:54 -04:00
Andre Medeiros
3b29b27135 add dependabot 2021-07-14 15:31:25 -04:00
Andre Medeiros
129c3f3df9 run workflow with verbose tests 2021-07-14 15:28:56 -04:00
Andre Medeiros
b43f9ec8ed fix workflow for real this time 2021-07-14 15:26:51 -04:00
Andre Medeiros
da230b3110 fix workflow 2021-07-14 15:25:26 -04:00
Andre Medeiros
1555c9bcf2 add git action 2021-07-14 15:22:49 -04:00
Andre Medeiros
3dbbe92603 parse MeResponse 2021-07-14 15:17:59 -04:00
Andre Medeiros
ec138dbe4f go back to /message/inbox and track pointer ourselves 2021-07-14 14:56:43 -04:00
Andre Medeiros
71884ccb80 multiply procfile some more 2021-07-13 20:34:04 -04:00
Andre Medeiros
8a777d2ee6 timeout reddit and increase batches 2021-07-13 20:16:38 -04:00