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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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
|
e0579fbcbd
|
fix up for render
|
2021-07-22 20:22:46 -04: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
|
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 |
|
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
|
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 |
|
Andre Medeiros
|
55c45592ac
|
tweak params
|
2021-07-13 20:09:44 -04:00 |
|
Andre Medeiros
|
47ee2a6e52
|
keep a number of idle connections around
|
2021-07-13 19:54:53 -04:00 |
|
Andre Medeiros
|
b98f8345a5
|
don't prefetch as much
|
2021-07-13 19:48:23 -04:00 |
|
Andre Medeiros
|
2a98be36ae
|
tweak more
|
2021-07-13 19:45:03 -04:00 |
|
Andre Medeiros
|
07961c1199
|
tweak prefetch
|
2021-07-13 19:41:29 -04:00 |
|
Andre Medeiros
|
cc1d932781
|
tweak default transport and try using message unread
|
2021-07-13 19:33:32 -04:00 |
|
Andre Medeiros
|
9d0ff332c6
|
set max connections on pool
|
2021-07-13 15:45:00 -04:00 |
|
Andre Medeiros
|
bb4b6f0e83
|
add heroku metrics back
|
2021-07-13 15:35:46 -04:00 |
|
Andre Medeiros
|
fdfa447435
|
remove retry logic with token
|
2021-07-13 15:21:14 -04:00 |
|
Andre Medeiros
|
0262133ce8
|
update queue delay in a better spot
|
2021-07-13 15:08:39 -04:00 |
|
Andre Medeiros
|
d9f64765f0
|
one more little fix
|
2021-07-13 14:47:50 -04:00 |
|
Andre Medeiros
|
2b0078c8f2
|
I'm an idiot
|
2021-07-13 14:40:56 -04:00 |
|
Andre Medeiros
|
6d0ee9c0c9
|
don't print an array of bytes
|
2021-07-13 14:24:56 -04:00 |
|
Andre Medeiros
|
c2e3b81830
|
Add some debugging
|
2021-07-13 14:22:41 -04:00 |
|
Andre Medeiros
|
d2909b8003
|
try refreshing token on mailbox error
|
2021-07-13 13:58:52 -04:00 |
|
Andre Medeiros
|
9fa0257d84
|
reorganize commands to keep things more consistent
|
2021-07-13 13:14:25 -04:00 |
|
Andre Medeiros
|
b5438495ec
|
change API to pgxpool
|
2021-07-13 10:17:20 -04:00 |
|
Andre Medeiros
|
3d41795636
|
update user agent
|
2021-07-12 16:27:59 -04:00 |
|
Andre Medeiros
|
06465ebf19
|
get post ID from context
|
2021-07-12 15:51:02 -04:00 |
|
Andre Medeiros
|
33b3af6584
|
fix account upsert
|
2021-07-12 15:09:40 -04:00 |
|
Andre Medeiros
|
7a89d5503c
|
fix up API to include account ID and refresh token
|
2021-07-12 14:46:28 -04:00 |
|
Andre Medeiros
|
a431c4ff5b
|
better error handling
|
2021-07-12 14:36:08 -04:00 |
|
Andre Medeiros
|
fad7191035
|
add most of the missing fields
|
2021-07-12 14:15:13 -04:00 |
|
Andre Medeiros
|
65f671c96c
|
Fix notification payloads
|
2021-07-10 14:51:42 -04:00 |
|
Andre Medeiros
|
6a5444bffe
|
fix tags
|
2021-07-08 19:55:14 -04:00 |
|
Andre Medeiros
|
dea42a40f6
|
stats where they belong yay
|
2021-07-08 19:26:15 -04:00 |
|
Andre Medeiros
|
0db6090f3e
|
ease up on the stats rate
|
2021-07-07 22:54:26 -04:00 |
|
Andre Medeiros
|
bfa1342c62
|
fix reused measuring
|
2021-07-07 22:44:46 -04:00 |
|
Andre Medeiros
|
8fb6adfae2
|
maybe measure idle time better
|
2021-07-07 22:41:27 -04:00 |
|
Andre Medeiros
|
ff6bbf2a6f
|
try using default client
|
2021-07-07 22:25:57 -04:00 |
|
Andre Medeiros
|
b55bb4839b
|
measure reddit connections
|
2021-07-07 22:19:02 -04:00 |
|
Andre Medeiros
|
a1f0d73fc6
|
import fastparser, increase connectino count to 128
|
2021-07-07 21:01:54 -04:00 |
|