Skip to content

Commit

Permalink
Set longer timeout
Browse files Browse the repository at this point in the history
Signed-off-by: JamesMurkin <[email protected]>
  • Loading branch information
JamesMurkin committed Jan 23, 2025
1 parent 488d34b commit ed8b62b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/scheduler/schedulerapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func Run(config schedulerconfig.Configuration) error {
}()
armadaClient := api.NewSubmitClient(conn)
queueCache := queue.NewQueueCache(armadaClient, config.QueueRefreshPeriod)
queueCacheInitTimeout, cancel := armadacontext.WithTimeout(ctx, time.Second*10)
queueCacheInitTimeout, cancel := armadacontext.WithTimeout(ctx, time.Second*30)
defer cancel()
err = queueCache.Initialise(queueCacheInitTimeout)
if err != nil {
Expand Down

0 comments on commit ed8b62b

Please sign in to comment.