Commit graph

617 commits

Author SHA1 Message Date
Andre Medeiros
eb1d904f86 change query 2022-10-31 21:32:43 -04:00
Andre Medeiros
d468a6e88b change how we iterate over accounts 2022-10-31 21:30:12 -04:00
dependabot[bot]
f2b270a3de Bump github.com/bugsnag/bugsnag-go/v2 from 2.1.2 to 2.2.0 (#104)
Bumps [github.com/bugsnag/bugsnag-go/v2](https://github.com/bugsnag/bugsnag-go) from 2.1.2 to 2.2.0.
- [Release notes](https://github.com/bugsnag/bugsnag-go/releases)
- [Changelog](https://github.com/bugsnag/bugsnag-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bugsnag/bugsnag-go/compare/v2.1.2...v2.2.0)

---
updated-dependencies:
- dependency-name: github.com/bugsnag/bugsnag-go/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-31 21:05:53 -04:00
dependabot[bot]
eee5bafdfc Bump github.com/gofrs/uuid from 4.0.0+incompatible to 4.3.0+incompatible (#105)
Bumps [github.com/gofrs/uuid](https://github.com/gofrs/uuid) from 4.0.0+incompatible to 4.3.0+incompatible.
- [Release notes](https://github.com/gofrs/uuid/releases)
- [Commits](https://github.com/gofrs/uuid/compare/v4.0.0...v4.3.0)

---
updated-dependencies:
- dependency-name: github.com/gofrs/uuid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-31 21:05:38 -04:00
dependabot[bot]
46fc9e6635 Bump go.uber.org/zap from 1.21.0 to 1.23.0 (#106)
Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.21.0 to 1.23.0.
- [Release notes](https://github.com/uber-go/zap/releases)
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber-go/zap/compare/v1.21.0...v1.23.0)

---
updated-dependencies:
- dependency-name: go.uber.org/zap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-31 21:05:13 -04:00
dependabot[bot]
228cc24cac Bump github.com/jackc/pgx/v4 from 4.16.1 to 4.17.2 (#107)
Bumps [github.com/jackc/pgx/v4](https://github.com/jackc/pgx) from 4.16.1 to 4.17.2.
- [Release notes](https://github.com/jackc/pgx/releases)
- [Changelog](https://github.com/jackc/pgx/blob/v4.17.2/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v4.16.1...v4.17.2)

---
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-31 21:03:01 -04:00
Andre Medeiros
683edbb091 dial down live activities 2022-10-31 20:58:02 -04:00
Andre Medeiros
0e342803a1 don't go crazy on emitting stats 2022-10-31 18:04:01 -04:00
Andre Medeiros
df0860dd05 increase consumers and make choice more direct 2022-10-31 17:33:41 -04:00
Andre Medeiros
62df908b33 increase maxprocs 2022-10-31 16:09:03 -04:00
Andre Medeiros
3750374aa0 increase maxprocs 2022-10-31 16:04:08 -04:00
Andre Medeiros
00bd99b60e add logging to the scheduler 2022-10-31 15:49:27 -04:00
Andre Medeiros
16eeaae3ad poll twice as much for jobs 2022-10-31 15:22:42 -04:00
Andre Medeiros
fbd3ff617a fix subreddit watcher 2022-10-31 15:12:27 -04:00
Andre Medeiros
a467b08878 set dismissal for live activity in lock screen 2022-10-31 13:35:01 -04:00
Andre Medeiros
6e668e538c omit live activity fields when they're empty 2022-10-27 21:54:30 -04:00
Andre Medeiros
2352e146c3 address an edge case where threads without comments will never stop 2022-10-27 21:52:06 -04:00
Andre Medeiros
c9877879da same timezone everywhere 2022-10-27 15:47:26 -04:00
Andre Medeiros
11ccf632c3 only use the production apns server for notifications 2022-10-27 15:24:28 -04:00
Andre Medeiros
28c71384be always use production APNS for live activities 2022-10-27 15:06:57 -04:00
Andre Medeiros
025be60c97 small tweak 2022-10-27 13:42:39 -04:00
Andre Medeiros
deae785d90 add more to logging in beta 2022-10-27 12:27:19 -04:00
Andre Medeiros
2c31a0df84 increase cron concurrent jobs 2022-10-27 10:09:40 -04:00
Andre Medeiros
ca08e45630 bring back logging 2022-10-27 09:51:23 -04:00
Andre Medeiros
0bee289aa6 handle edge case of ending without comment 2022-10-27 09:51:07 -04:00
Andre Medeiros
1a5f919bb9 easy with the logging 2022-10-26 22:58:59 -04:00
Andre Medeiros
030b73e493 increase live activity batch size 2022-10-26 22:55:08 -04:00
Andre Medeiros
ab93194e0d check for apns token before creating it 2022-10-26 22:45:05 -04:00
Andre Medeiros
2c04466a6b more reddit client tweaks 2022-10-26 21:59:44 -04:00
Andre Medeiros
4a805e57d0 experiment with http client changes in reddit 2022-10-26 21:39:04 -04:00
Andre Medeiros
a8f046acb6 fix the notification metric for live activities 2022-10-26 21:08:22 -04:00
Andre Medeiros
561312f131 change account not found message 2022-10-26 21:06:15 -04:00
dependabot[bot]
6fd16dda17 Bump github.com/spf13/cobra from 1.4.0 to 1.6.1 (#103)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.4.0 to 1.6.1.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.4.0...v1.6.1)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-26 20:58:35 -04:00
dependabot[bot]
47e5b40b2f Bump github.com/heroku/x from 0.0.50 to 0.0.55 (#101)
Bumps [github.com/heroku/x](https://github.com/heroku/x) from 0.0.50 to 0.0.55.
- [Release notes](https://github.com/heroku/x/releases)
- [Commits](https://github.com/heroku/x/compare/v0.0.50...v0.0.55)

---
updated-dependencies:
- dependency-name: github.com/heroku/x
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-26 20:55:39 -04:00
Andre Medeiros
c08de574e9 fix context usage in scheduler 2022-10-26 20:48:22 -04:00
Andre Medeiros
1a861ea628 finalize context fixing 2022-10-26 20:46:17 -04:00
Andre Medeiros
b0025e2367 more context fixes 2022-10-26 20:43:44 -04:00
Andre Medeiros
9a34ae3493 correct use of context 2022-10-26 20:42:48 -04:00
dependabot[bot]
208ae5557f Bump github.com/jackc/pgconn from 1.12.1 to 1.13.0 (#93)
Bumps [github.com/jackc/pgconn](https://github.com/jackc/pgconn) from 1.12.1 to 1.13.0.
- [Release notes](https://github.com/jackc/pgconn/releases)
- [Changelog](https://github.com/jackc/pgconn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgconn/compare/v1.12.1...v1.13.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-26 20:37:51 -04:00
Andre Medeiros
13bc85dc8d report on live activities 2022-10-26 20:36:03 -04:00
dependabot[bot]
e0e4329f71 Bump github.com/stretchr/testify from 1.7.1 to 1.8.1 (#102)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.1 to 1.8.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.1...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-26 20:32:28 -04:00
dependabot[bot]
e885e00471 Bump github.com/go-co-op/gocron from 1.13.0 to 1.17.1 (#99)
Bumps [github.com/go-co-op/gocron](https://github.com/go-co-op/gocron) from 1.13.0 to 1.17.1.
- [Release notes](https://github.com/go-co-op/gocron/releases)
- [Commits](https://github.com/go-co-op/gocron/compare/v1.13.0...v1.17.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-26 20:26:48 -04:00
Andre Medeiros
a7f585be95 make measurements more accurate in notifications worker 2022-10-26 20:26:38 -04:00
Andre Medeiros
bf2dff8497 more precision on measurement 2022-10-26 20:20:45 -04:00
Andre Medeiros
9154ee8e7f be more forgiving with comment age 2022-10-26 19:31:16 -04:00
Andre Medeiros
cd8b0b0dca remove live activity record when oauth revoked 2022-10-26 19:00:40 -04:00
Andre Medeiros
f50d9f075e use error maps to define custom errors per request 2022-10-26 18:51:33 -04:00
Andre Medeiros
2b03f4f884 be more forgiving with reddit errors 2022-10-26 18:28:11 -04:00
Andre Medeiros
840d644a4e handle threads with no comments 2022-10-26 13:15:59 -04:00
Andre Medeiros
6fdcd3540b send comment ID 2022-10-24 12:25:09 -04:00