Skip to content

Commit adfc3d8

Browse files
ojasjoshiojasjosh
andauthored
Update MAXIMUM_BACKOFF_TIME_SECONDS usage (#38)
Co-authored-by: ojasjosh <[email protected]>
1 parent e11f65f commit adfc3d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

robomaker-sample-app-ci/src/aws-robomaker-sample-application-ci.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ async function bundle() {
161161
}
162162
console.log(`Colcon bundle failed.. retrying in ${delay_ms} milliseconds`);
163163
await delay(delay_ms); // wait for next retry per the current exponential backoff delay
164-
delay_ms = Math.min(delay_ms * 2, MAXIMUM_BACKOFF_TIME_SECONDS); // double the delay for the next retry, truncate if required
164+
delay_ms = Math.min(delay_ms * 2, 1000 * MAXIMUM_BACKOFF_TIME_SECONDS); // double the delay for the next retry, truncate if required
165165
}
166166
}
167167
}

0 commit comments

Comments
 (0)