Skip to content

Commit

Permalink
Update Activation wait time and add clarifying comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
Natasha Krisa committed Aug 22, 2023
1 parent aba803b commit f1e330b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions StreamingUpdatesRestApi/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ public static async Task<bool> MainAsync(bool test = false)
Console.WriteLine();
#endregion

// 5 second delay to allow signup to be ready to activate
Thread.Sleep(5000);
// 1 second delay to allow signup to be ready to activate
Thread.Sleep(1000);

// Step 5
// Make an API request to GetSignup to activate the signup
Expand Down Expand Up @@ -207,7 +207,7 @@ public static async Task<bool> MainAsync(bool test = false)
Console.WriteLine();
#endregion

// 20 second delay to catch up to updates
// 20 second delay to catch up to updates. Continue polling if desired number of updates are not available or increase wait time.
Console.WriteLine("Waiting for updates to process\n");
Thread.Sleep(20000);

Expand Down

0 comments on commit f1e330b

Please sign in to comment.