Skip to content
Snippets Groups Projects
Commit 6c3e7849 authored by Rick Carback's avatar Rick Carback
Browse files

Update hard time out to 45s

parent 0d35c5e1
No related branches found
No related tags found
No related merge requests found
...@@ -446,8 +446,8 @@ var rootCmd = &cobra.Command{ ...@@ -446,8 +446,8 @@ var rootCmd = &cobra.Command{
timer = time.NewTimer(dummyPeriod) timer = time.NewTimer(dummyPeriod)
} }
} else { } else {
// Wait up to 2 minutes to receive a message // Wait up to 45s to receive a message
for end, timeout := false, time.After(120*time.Second); !end; { for end, timeout := false, time.After(45*time.Second); !end; {
if text.MessagesReceived > 0 { if text.MessagesReceived > 0 {
end = true end = true
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment