While doing large async batch operations, I keep getting an error "Work queue depth limit exceeded". Turns out there is a maximum number of simultaneous calls that can be made to bitcoind. This PR adds an optional constructor param that, if set, creates a queue and only runs a set number of rpc calls at a time.
While doing large async batch operations, I keep getting an error "Work queue depth limit exceeded". Turns out there is a maximum number of simultaneous calls that can be made to bitcoind. This PR adds an optional constructor param that, if set, creates a queue and only runs a set number of rpc calls at a time.