Commit Graph

7 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 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 3174fa5bad increase cost of eth_subscribe(newPendingTransactions) 2023-09-18 14:18:05 -07:00
Bryan Stitt d2aa67e8ee test more methods 2023-08-17 21:55:58 -07:00
Bryan Stitt e86bb6ee07 test that compares anvil and w3p 2023-08-17 21:20:34 -07:00
Bryan Stitt 0bc523ab9f improve hard limits
rate limit per server or per endpoint and with any period
2023-08-03 12:24:28 -07:00
Bryan Stitt ab6d3a1d9b split command line into separte module 2023-08-03 00:16:54 -07:00