Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Filter jit orders for settlement throughput metric (#2847)
# Description We have been seeing an increasing number of alerts about insufficient settlement throughput (specifically on Gnosis Chain). From what I can tell this is mainly due to jit orders with tiny amounts not being considered by more sophisticated (external) solvers and thus increasing this metric. The easiest fix is to simply exclude those orders from the metric. Alternatively, we could also define a "surplus threshold" and ignore orders that have very little surplus. However, I think since these jit orders are passive liquidity and our "settlement throughput" metric intends to be user facing, filtering these orders out completely seems like a good and simpler choice # Changes - [x] Add filter to remove all orders that were not part of the auction ## How to test Once deployed in prod, expect much reduced logs of the form
- Loading branch information