Updating the API functions to make the retry.
This commit is contained in:
@@ -22,7 +22,7 @@ export let get_object = async function get_object(
|
||||
// The task_id value should be a random string that is unique to the task. This is used to identify the task in the message event.
|
||||
task_id = crypto.randomUUID(),
|
||||
log_lvl = 0,
|
||||
retry_count = 3 // Number of retry attempts
|
||||
retry_count = 5 // Number of retry attempts
|
||||
}: {
|
||||
api_cfg: any,
|
||||
endpoint: string,
|
||||
|
||||
Reference in New Issue
Block a user