Commit graph

325 commits

Author SHA1 Message Date
dependabot[bot]
66d202fe9b Bump github.com/DataDog/datadog-go
Bumps [github.com/DataDog/datadog-go](https://github.com/DataDog/datadog-go) from 4.8.1+incompatible to 4.8.2+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.1...v4.8.2)

---
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-09-07 08:23:56 +00:00
dependabot[bot]
823957739c Bump github.com/go-co-op/gocron from 1.6.2 to 1.7.1
Bumps [github.com/go-co-op/gocron](https://github.com/go-co-op/gocron) from 1.6.2 to 1.7.1.
- [Release notes](https://github.com/go-co-op/gocron/releases)
- [Commits](https://github.com/go-co-op/gocron/compare/v1.6.2...v1.7.1)

---
updated-dependencies:
- dependency-name: github.com/go-co-op/gocron
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-30 08:25:15 +00:00
Andre Medeiros
d4fad82264 write header before body 2021-08-14 20:19:45 -04:00
Andre Medeiros
e746edfdb9 de-christian sanbox 2021-08-14 20:10:07 -04:00
Andre Medeiros
99f76c8cca fix queue delay reporting 2021-08-14 14:15:05 -04:00
Andre Medeiros
42a9fb415e report timeout errors separately 2021-08-14 14:07:19 -04:00
Andre Medeiros
7f8d0c3375 write errors with proper go api 2021-08-14 13:57:26 -04:00
Andre Medeiros
282ff6ef3e remove the data package 2021-08-14 13:56:03 -04:00
Andre Medeiros
c17a39b9eb remove redundant log field 2021-08-14 13:53:11 -04:00
Andre Medeiros
12b67879ee fix more logs 2021-08-14 13:51:18 -04:00
Andre Medeiros
4c5e47e749 don't delete after any error 2021-08-14 13:50:03 -04:00
André Medeiros
a7e565b0f2 Merge pull request #17 from christianselig/dependabot/go_modules/github.com/go-redis/redis/v8-8.11.3 2021-08-14 13:48:20 -04:00
André Medeiros
15db5d8b7a Merge pull request #19 from christianselig/chore/test-reddit 2021-08-14 13:43:53 -04:00
Andre Medeiros
d17151a3b3 test reddit 2021-08-14 13:42:28 -04:00
Andre Medeiros
9a5d699f66 Remove stale devices 2021-08-14 12:08:17 -04:00
Andre Medeiros
84e499a7af schedule stale and orphaned accounts 2021-08-14 11:59:13 -04:00
Andre Medeiros
f6e05a6fd8 clean orphaned accounts 2021-08-14 11:54:48 -04:00
Andre Medeiros
905235a8ff Set device pinged at 2021-08-14 11:51:27 -04:00
dependabot[bot]
fd2ddb1b5c Bump github.com/go-redis/redis/v8 from 8.11.0 to 8.11.3
Bumps [github.com/go-redis/redis/v8](https://github.com/go-redis/redis) from 8.11.0 to 8.11.3.
- [Release notes](https://github.com/go-redis/redis/releases)
- [Changelog](https://github.com/go-redis/redis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-redis/redis/compare/v8.11.0...v8.11.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-14 15:40:45 +00:00
Andre Medeiros
50cdc3aafa skip logging for health check 2021-08-14 11:34:32 -04:00
Andre Medeiros
bcb53235f8 Add a few more fields to http logging 2021-08-14 11:30:43 -04:00
Andre Medeiros
9df9999a0a remove lingering bad code 2021-08-14 11:26:20 -04:00
Andre Medeiros
713e56d375 go mod changes 2021-08-14 11:25:29 -04:00
André Medeiros
fc9e663616 Merge pull request #13 from christianselig/chore/refactor
[WIP] Refactor
2021-08-14 11:24:43 -04:00
André Medeiros
37f2e2aedd Merge branch 'main' into chore/refactor 2021-08-14 11:24:36 -04:00
Andre Medeiros
002851efe7 Save account info 2021-08-14 11:21:17 -04:00
Andre Medeiros
993c07938c ALL THE API 2021-08-08 14:19:47 -04:00
Andre Medeiros
5054462cad Tweak receipt check response 2021-07-27 15:28:15 -04:00
Andre Medeiros
ebd5fce678 Add custom field with account list 2021-07-27 15:28:15 -04:00
Andre Medeiros
f06f1ce550 stub for association 2021-07-27 10:05:50 -04:00
André Medeiros
233e66e9a7 Merge pull request #14 from christianselig/dependabot/go_modules/github.com/jackc/pgx/v4-4.13.0
Bump github.com/jackc/pgx/v4 from 4.12.0 to 4.13.0
2021-07-27 09:55:54 -04:00
Andre Medeiros
4261c6771c add receipt and device deletion 2021-07-26 13:54:24 -04:00
Andre Medeiros
8723bf6c5c change notification title 2021-07-26 13:42:16 -04:00
Andre Medeiros
e39693d47b Add notification title 2021-07-26 13:38:07 -04:00
Andre Medeiros
2cfc5f1bec fuck me sidways 2021-07-26 13:23:07 -04:00
Andre Medeiros
c67d7c6882 womp womp 2021-07-26 13:18:02 -04:00
Andre Medeiros
a5b69521c8 fix query 2021-07-26 13:06:50 -04:00
Andre Medeiros
3d679fe878 fix route 2021-07-26 13:06:00 -04:00
Andre Medeiros
0d296a672e add test notification endpoint 2021-07-26 13:05:09 -04:00
Andre Medeiros
22279185e1 things 2021-07-26 12:34:26 -04:00
dependabot[bot]
515ac90bf2 Bump github.com/jackc/pgx/v4 from 4.12.0 to 4.13.0
Bumps [github.com/jackc/pgx/v4](https://github.com/jackc/pgx) from 4.12.0 to 4.13.0.
- [Release notes](https://github.com/jackc/pgx/releases)
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v4.12.0...v4.13.0)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26 08:24:51 +00:00
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