-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or request
Description
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.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request