Skip to content

Commit 20662af

Browse files
committed
Use explicit timeout, 15 minutes should work
1 parent 08f6fb5 commit 20662af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/cmd/api/cost.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func runCostUpdater(ctx context.Context, pool *pgxpool.Pool, tenant, bigQueryPro
5454
return
5555
}
5656

57-
ctx, cancel := context.WithTimeout(ctx, costUpdateSchedule-5*time.Minute)
57+
ctx, cancel := context.WithTimeout(ctx, 15*time.Minute)
5858
defer cancel()
5959

6060
done := make(chan struct{})

0 commit comments

Comments
 (0)