Increase GCE operation timeout

This commit is contained in:
Wojciech Tyczynski 2016-12-12 16:10:38 +01:00
parent b2047ad4a5
commit 289a7ada44

View File

@ -63,8 +63,9 @@ const (
// AffinityTypeClientIPProto - affinity based on Client IP and port. // AffinityTypeClientIPProto - affinity based on Client IP and port.
gceAffinityTypeClientIPProto = "CLIENT_IP_PROTO" gceAffinityTypeClientIPProto = "CLIENT_IP_PROTO"
operationPollInterval = 3 * time.Second operationPollInterval = 3 * time.Second
operationPollTimeoutDuration = 30 * time.Minute // Creating Route in very large clusters, may take more than half an hour.
operationPollTimeoutDuration = time.Hour
// Each page can have 500 results, but we cap how many pages // Each page can have 500 results, but we cap how many pages
// are iterated through to prevent infinite loops if the API // are iterated through to prevent infinite loops if the API