Skip to content

Commit 0c18d79

Browse files
author
Yago Carlos Fernandez Gou
committed
Adjust timeouts for Intakes
1 parent d9a792c commit 0c18d79

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

services/intake/wait/wait.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func DeleteIntakeRunnerWaitHandler(ctx context.Context, a APIClientInterface, pr
6363
// An unexpected error occurred
6464
return false, nil, err
6565
})
66-
handler.SetTimeout(20 * time.Minute)
66+
handler.SetTimeout(15 * time.Minute)
6767
return handler
6868
}
6969

@@ -92,7 +92,7 @@ func CreateOrUpdateIntakeWaitHandler(ctx context.Context, a APIClientInterface,
9292

9393
return false, nil, nil
9494
})
95-
handler.SetTimeout(20 * time.Minute)
95+
handler.SetTimeout(10 * time.Minute)
9696
return handler
9797
}
9898

@@ -138,7 +138,7 @@ func CreateOrUpdateIntakeUserWaitHandler(ctx context.Context, a APIClientInterfa
138138
// it never becomes active.
139139
return false, nil, nil
140140
})
141-
handler.SetTimeout(10 * time.Minute)
141+
handler.SetTimeout(5 * time.Minute)
142142
return handler
143143
}
144144

@@ -157,6 +157,6 @@ func DeleteIntakeUserWaitHandler(ctx context.Context, a APIClientInterface, proj
157157
}
158158
return false, nil, err
159159
})
160-
handler.SetTimeout(10 * time.Minute)
160+
handler.SetTimeout(5 * time.Minute)
161161
return handler
162162
}

0 commit comments

Comments
 (0)