web3-proxy/Cargo.toml
Rory Trent ec11e210ee
Peak ewma (#63)
* use peak-ewma instead of head for latency calculation

* Implement some suggested changes from PR

* move latency to new package in workspace root

* fix unit tests which now require peak_latency on Web3Rpc

* Switch to atomics for peak-ewma

This change is to avoid locking from tokio::sync::watch.

* add decay calculation to latency reads in peak-ewma

* Add some tests for peak-ewma

* Sensible latency defaults and not blocking on full

* Cleanup and a couple additional comments
2023-05-11 13:09:15 -07:00

22 lines
383 B
TOML

[workspace]
members = [
"deferred-rate-limiter",
"entities",
"latency",
"migration",
"rate-counter",
"redis-rate-limiter",
"thread-fast-rng",
"web3_proxy",
]
[profile.release]
# `debug = true` so that sentry can give us line numbers
debug = true
[profile.faster_release]
inherits = "release"
# spend longer compiling for a slightly faster binary
codegen-units = 1