Skip to content

Commit

Permalink
Increase default timeout for the --timeout flag to 10 minutes.
Browse files Browse the repository at this point in the history
This is required since the risk calculation can easily takle this long
  • Loading branch information
dylanratcliffe committed Feb 14, 2024
1 parent a4d3867 commit cb9c321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ func addChangeUuidFlags(cmd *cobra.Command) {

// Adds common flags to API commands e.g. timeout
func addAPIFlags(cmd *cobra.Command) {
cmd.PersistentFlags().String("timeout", "5m", "How long to wait for responses")
cmd.PersistentFlags().String("timeout", "10m", "How long to wait for responses")
cmd.PersistentFlags().String("url", "https://api.prod.overmind.tech", "The overmind API endpoint")
}

Expand Down

0 comments on commit cb9c321

Please sign in to comment.