Commit Graph

373 Commits

Author SHA1 Message Date
Bryan Stitt 78edfee6b9 timeout and server selection fixes
add a short connect timeout separate from the overall request timeout.

also fix a bug when only 1 server was in the rpc list causing a very tight loop that made tokio sad
2023-10-09 23:30:17 -07:00
Bryan Stitt 4f6e75e109 cargo upgrade and update 2023-10-09 09:46:43 -07:00
Bryan Stitt d1d5e8ecf5 1.43.22 2023-10-07 16:54:02 -07:00
Bryan Stitt 5fe5b97aef 1.43.21 2023-10-07 15:21:32 -07:00
Bryan Stitt 2d6daf4def 1.43.20 2023-10-07 13:51:43 -07:00
Bryan Stitt 9ed0c70ecd wait for lagged rpcs. v1.43.19 2023-10-07 11:58:47 -07:00
Bryan Stitt bb9c8f297e 1.43.16 2023-10-07 03:41:45 -07:00
Bryan Stitt cc2eb9e862 no more overflow on the pending txid firehose 2023-10-07 03:41:11 -07:00
Bryan Stitt d38a35903e cargo update 2023-10-07 00:35:22 -07:00
Bryan Stitt aeb30787dd more openssl and no rmp
i like rustls, but we can't use it on everything and so our compile times are bad
2023-10-07 00:35:22 -07:00
Bryan Stitt 9e1be629ca cargo update 2023-10-07 00:35:22 -07:00
Bryan Stitt 9258d36e6a refactor rpc selection 2023-10-07 00:35:22 -07:00
Bryan Stitt aee8ede8ef 1.43.15 2023-10-06 00:05:27 -07:00
Bryan Stitt 572fc87cf5 1.43.14 2023-10-05 20:28:51 -07:00
Bryan Stitt 1c7fb8ae29 cargo update 2023-10-05 11:01:24 -07:00
Bryan Stitt ac8d77252e 1.43.13 2023-10-05 11:01:24 -07:00
Bryan Stitt 5aa967dfa9 1.43.12 2023-10-03 21:35:43 -07:00
Bryan Stitt 633177c0a6 bump version to 1.43.11 2023-10-03 19:29:44 -07:00
Bryan Stitt 73d16b83e6 cargo upgrade and update 2023-10-03 19:07:21 -07:00
Bryan Stitt e917a11d6c
Suprisingly large refactor to get ids everywhere (#222)
* cargo upgrade --incompatible and update

* first draft at suprisingly_large_refactor_to_get_ids_everywhere

* put app in a task_local

* ref cleanup

* use a OnceLock instead of a tokio local

* test more methods

* APP isn't set in all tests

* it compiles. tests fail. todos still open

* use the app only when necessary

* more tests. less panic

* less verbose debug impl

* short enum names

* move kafka and secrets to their own files

* main tests pass

* add debug chain block time

* helper for stats that ignores internal stats

* Update Jenkinsfile (#223)

* more tests

---------

Co-authored-by: Pewxz <124064710+pewxz@users.noreply.github.com>
2023-10-03 13:46:27 -07:00
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 e1f922dc57 v1.43.8 2023-09-25 10:39:31 -07:00
Bryan Stitt d732b8a171 cargo upgrade and update
ordered-float went from v3 to v4
2023-09-25 10:02:04 -07:00
Bryan Stitt f9b6c2fe0c cargo upgrade and update 2023-09-21 09:35:06 -07:00
Bryan Stitt 44e8cce9c8 no need for this yield. recv is cooperative 2023-09-20 12:34:51 -07:00
Bryan Stitt 0b3dfd095e upgrade nightly for doc fix 2023-09-20 11:02:41 -07:00
Bryan Stitt b44c774edb remove some unused features 2023-09-19 18:48:15 -07:00
Bryan Stitt 98da8cdfa7 add a yield_now just in case 2023-09-19 15:40:24 -07:00
Bryan Stitt 416d179c09 1.43.6 2023-09-19 14:43:15 -07:00
Bryan Stitt ca2056e16f lru instead of moka for deduped_broadcast 2023-09-19 14:39:59 -07:00
Bryan Stitt 6233faeec4 cargo update 2023-09-19 10:57:14 -07:00
Bryan Stitt 10c4ffc9d2 smarter archive retry 2023-09-19 10:56:54 -07:00
Bryan Stitt 9ec408765c v1.43.2 2023-09-18 23:43:45 -07:00
Bryan Stitt 37df2a5650 delete unused deps 2023-09-18 14:32:02 -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 01179d14f2 cargo upgrade and update 2023-09-14 12:51:16 -07:00
Bryan Stitt 1fd8f6f383
Deduped broadcast channel (#209)
* upgrade and start adding deduped_broadcast

* basic test

* accept arg for cache ttl

* first pass at bringing the tx firehose back

* try_send instead of send since there aren't always receivers

* deduped broadcaster needs the try send

* track counts and include in /status

* use config for enable subscribe_txs
2023-09-13 12:05:47 -07:00
Bryan Stitt 274b2c89fc v1.43.1 2023-09-12 13:43:17 -07:00
Bryan Stitt 1ad6b2ad3e cargo upgrade and cargo update 2023-09-12 13:01:41 -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 d5090df5a4 1.42.17 2023-09-02 10:59:37 -07:00
Bryan Stitt bd77a6cac4 cargo upgrade and update 2023-09-02 10:20:30 -07:00
Bryan Stitt 57f5d5b483 cargo upgrade and update 2023-09-01 16:58:02 -07:00
Bryan Stitt 7530605e5b v1.42.14 2023-08-30 21:06:09 -07:00
Bryan Stitt 484610b80f cargo upgrade and update 2023-08-30 21:05:34 -07:00
Bryan Stitt ec533c8b30 cargo upgrade and update 2023-08-30 20:59:06 -07:00
Bryan Stitt df12b3dc73 cargo upgrade and update 2023-08-24 14:37:04 -07:00
Bryan Stitt a32e2ddcad cargo upgrade 2023-08-22 13:27:19 -07:00
Bryan Stitt d036806a61 cargo upgrade and cargo update 2023-08-22 10:42:59 -07:00