Skip to content

Commit 21a8bf0

Browse files
committed
initial wait from poll interval
1 parent 94a825d commit 21a8bf0

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

packages/b2c-cli/src/commands/ods/create.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -254,10 +254,7 @@ export default class OdsCreate extends OdsCommand<typeof OdsCreate> {
254254
this.log(t('commands.ods.create.waiting', 'Waiting for sandbox to be ready...'));
255255

256256
// Initial delay before first poll to allow the sandbox to be registered in the API
257-
// Skip delay when pollInterval is 0 (test mode)
258-
if (pollIntervalSeconds > 0) {
259-
await this.sleep(2000);
260-
}
257+
await this.sleep(pollIntervalMs);
261258

262259
while (true) {
263260
// Check for timeout

0 commit comments

Comments
 (0)