Http/https requests are now made using Axios. Both options skip_compression and skip_submission are now read in the constructor, and the _url_options structure is recomputed inside skip_compression's setter. The Async package doesn't offer a bounded queue; async.queue can be configured to limit the concurrency (# of "parallel" workers), but not its depth. This functionality is achieved by counting the number of submissions, using a callback to change the value accordingly. The "blocking" behavior is achieved by taking advantage of the Promise-based nature of Axios.
Http/https requests are now made using Axios. Both options
skip_compression
andskip_submission
are now read in the constructor, and the_url_options
structure is recomputed insideskip_compression
's setter. The Async package doesn't offer a bounded queue;async.queue
can be configured to limit the concurrency (# of "parallel" workers), but not its depth. This functionality is achieved by counting the number of submissions, using a callback to change the value accordingly. The "blocking" behavior is achieved by taking advantage of the Promise-based nature of Axios.