File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ func (r *Resources) RunDeploymentHealthLoop(stopCh <-chan struct{}) {
7070// and stores it in-memory.
7171func (r * Resources ) fetchDeploymentHealth () error {
7272 // Ask cluster for its health
73- ctx , cancel := context .WithTimeout (context .Background (), time .Second * 15 )
73+ ctx , cancel := context .WithTimeout (context .Background (), time .Minute )
7474 defer cancel ()
7575 client , err := r .context .GetDatabaseClient (ctx )
7676 if err != nil {
@@ -151,7 +151,7 @@ func (r *Resources) InvalidateSyncStatus() {
151151// fetchClusterShardSyncState performs a single fetch of the cluster inventory and
152152// checks if all shards are in sync
153153func (r * Resources ) fetchClusterShardSyncState () error {
154- ctx , cancel := context .WithTimeout (context .Background (), time .Second * 15 )
154+ ctx , cancel := context .WithTimeout (context .Background (), time .Minute * 10 )
155155 defer cancel ()
156156 c , err := r .context .GetDatabaseClient (ctx )
157157 if err != nil {
You can’t perform that action at this time.
0 commit comments