Bryan Stitt
f0b6465069
streaming responses 2 ( #219 )
...
* streaming responses compile, still small TODOs & cleanup
* refactor to allow short curcuits on uncacheable requests (#220 )
* refactor to allow short curcuits on uncacheable requests
* handle error inside an Arc from moka
* arc instead of box
* lint
* more lint
* add bonus rate limits and keep all semaphores after rate limits (#221 )
* add bonus rate limits and keep all semaphores after rate limits
* remove stale todos
* better function names
* cargo upgrade and update
* make some panics warn. more todo
* pass request_metadata through so streaming responses include their final size
* remove stale TODO
* remove more stale todos
* add file i missed
* make to_json_string work well enough
* check config for free_subscriptions
---------
Co-authored-by: Rory Neithinger <rory@llamanodes.com>
2023-09-26 18:18:06 -07:00
Bryan Stitt
a68a98ce41
cargo upgrade and update
...
moka 0.12 required some migration help: https://github.com/moka-rs/moka/blob/main/MIGRATION-GUIDE.md
2023-09-18 11:04:22 -07:00
Bryan Stitt
4d0149346d
update email address
2023-09-12 23:05:17 -07:00
Bryan Stitt
8050f699f3
cargo upgrade and cargo update
2023-09-11 11:33:36 -07:00
Bryan Stitt
0dcd368ac7
v1.42.18
2023-09-06 13:17:35 -07:00
Bryan Stitt
ec533c8b30
cargo upgrade and update
2023-08-30 20:59:06 -07:00
Bryan Stitt
6be05bab4b
cargo upgrade
2023-08-17 13:49:45 -07:00
Bryan Stitt
aa71a406bb
cargo upgrade
2023-08-15 15:39:13 -07:00
Bryan Stitt
1b8ae5dee0
cargo upgrade
2023-07-18 09:54:56 -07:00
Bryan Stitt
501ec21442
drop workspace-hack for now
...
it doesn't work well with features and so we were installing things like kafka even if the feature was off
2023-06-30 13:18:37 -07:00
Bryan Stitt
645fa7328b
cargo upgrade tokio
2023-06-29 23:16:31 -07:00
Bryan Stitt
cdea61cb6b
one list for ranked rpcs
2023-06-27 15:55:29 -07:00
Bryan Stitt
272f7ce800
add cargo hakari and chef to build process
2023-06-27 11:59:49 -07:00
Bryan Stitt
fef03f089f
less verbose db_conn and db_replica helpers
2023-06-24 11:11:07 -07:00
Bryan Stitt
2273637a07
move cli into a separate packge and clean up dependencies
2023-05-30 20:58:24 -07:00
Bryan Stitt
9e935e2c44
cargo upgrade
2023-05-29 09:43:51 -07:00
Bryan Stitt
2a242fe37f
cargo upgrade --incompatible
2023-05-11 13:25:55 -07:00
Bryan Stitt
2e934a41bf
cargo upgrade
2023-04-05 12:30:52 -07:00
yenicelik
345fa6c513
git status
2023-03-30 13:42:56 +01:00
Bryan Stitt
684c37ef6c
cargo upgrade
2023-03-10 09:45:47 -08:00
Bryan Stitt
eb4d05a520
stats v2
...
rebased all my commits and squashed them down to one
2023-03-04 20:48:49 +01:00
Bryan Stitt
0f280ce483
cargo upgrade and shorten variable names
...
also begin adding a latency tracker for rpc stats
2023-02-06 09:55:27 -08:00
Bryan Stitt
6c23b73f2d
cargo upgrade
2023-01-30 15:57:06 -08:00
Bryan Stitt
274778cd12
cargo upgrade --workspace
2023-01-19 02:21:45 -08:00
Bryan Stitt
99d095bc33
upgrade after revert
2023-01-06 15:59:36 -08:00
Bryan Stitt
fb62243c3e
Revert "cargo upgrade and use trailing slash route extra"
...
This reverts commit 5bfba3a87afbf4157c2b0bd36273e3dcc4075578.
2023-01-06 15:58:52 -08:00
Bryan Stitt
5bfba3a87a
cargo upgrade and use trailing slash route extra
2023-01-06 14:22:57 -08:00
Bryan Stitt
221f2c1651
upgrade tokio
...
its a change for windows so doesn't really matter
2023-01-04 14:34:58 -08:00
Bryan Stitt
82eb449e96
add backend nodes to the rpc response headers
...
only do this in dev?
2022-12-19 21:37:12 -08:00
Bryan Stitt
263f98ced5
minor updates
2022-12-19 10:58:49 -08:00
Bryan Stitt
0a60ccd95e
query_user_stats caching
2022-12-15 22:32:58 -08:00
Bryan Stitt
081873e937
move pending logins to the database
2022-12-13 18:34:08 -08:00
Bryan Stitt
4018121e51
cargo upgrade
2022-11-21 17:49:57 +00:00
Bryan Stitt
0e1cf5767c
cut out tracing for now
2022-11-12 08:24:32 +00:00
Bryan Stitt
c33342d9dd
simplify authorization types so we can pass them deeper easily
2022-11-11 06:19:12 +00:00
Bryan Stitt
366f2c8f84
rename api_key to rpc_key
2022-10-27 00:12:42 +00:00
Bryan Stitt
0c3194f445
upgrades and todo cleanup
2022-10-26 22:38:04 +00:00
Bryan Stitt
9422a335a7
allow origins on public entrypoints
2022-10-21 20:59:05 +00:00
Bryan Stitt
c8fbf46885
stats in redis that actually work
...
we should still investigate a real time series db, but stats in redis is much simpler for now
2022-10-07 02:15:53 +00:00
Bryan Stitt
53f9551180
finish adding semaphores
2022-09-28 03:35:55 +00:00
Bryan Stitt
81deb1103c
login needs its own rate limiter
2022-09-24 03:59:21 +00:00
Bryan Stitt
abe5001792
atomic and less expires
2022-09-20 06:56:24 +00:00
Bryan Stitt
739947792a
instrument more. add max_wait to wait_for_request_handle
2022-09-20 06:00:27 +00:00
Bryan Stitt
5cc4ca8d9e
it compiles, but theres something wrong with moves
2022-09-16 23:02:55 +00:00
Bryan Stitt
12b6d01434
work in progress
2022-09-15 17:57:24 +00:00