mentie 0.2.32 → 0.2.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/modules/promises.js +1 -1
- package/package.json +1 -1
package/modules/promises.js
CHANGED
|
@@ -69,7 +69,7 @@ export async function make_retryable( async_function, { retry_times = 5, cooldow
|
|
|
69
69
|
* @returns {Promise<Array>} - A promise that resolves to an array of results from the async functions.
|
|
70
70
|
* @see {@link https://www.npmjs.com/package/promise-parallel-throttle}
|
|
71
71
|
*/
|
|
72
|
-
export async function throttle_and_retry( async_function_array = [], { max_parallel = 2, retry_times, cooldown_in_s, cooldown_entropy, logger, fail_fast = true } ) {
|
|
72
|
+
export async function throttle_and_retry( async_function_array = [], { max_parallel = 2, retry_times=2, cooldown_in_s=5, cooldown_entropy=false, logger, fail_fast = true } ) {
|
|
73
73
|
|
|
74
74
|
// Function dependencies
|
|
75
75
|
const { default: Throttle } = await import( 'promise-parallel-throttle' )
|