You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, there are two different constants for throttling concurrency (coroutines and thread parallelism) in the arb bot, which are both defined in util.py:
DISCOVERY_CONCURRENCY_FACTOR - determines the maximum number of concurrent calls to the skip API
EVALUATION_CONCURRENCY_FACTOR - determines the maximum number of concurrent arbs which can be evaluated for profit (this is implemented with threading, not async, since pool provider swap functions are potentially blocking, due to a limitation in the cosmpy library)
These factors should be configurable via flags: --discovery_concurrency_factor, and --evaluation_concurrency_factor.
The text was updated successfully, but these errors were encountered:
Currently, there are two different constants for throttling concurrency (coroutines and thread parallelism) in the arb bot, which are both defined in
util.py
:DISCOVERY_CONCURRENCY_FACTOR
- determines the maximum number of concurrent calls to the skip APIEVALUATION_CONCURRENCY_FACTOR
- determines the maximum number of concurrent arbs which can be evaluated for profit (this is implemented with threading, not async, since pool provider swap functions are potentially blocking, due to a limitation in the cosmpy library)These factors should be configurable via flags:
--discovery_concurrency_factor
, and--evaluation_concurrency_factor
.The text was updated successfully, but these errors were encountered: