From cb9c3218b79b9a5ec92ef9c7d9add7fd0e8a6b2d Mon Sep 17 00:00:00 2001 From: Dylan Ratcliffe Date: Wed, 14 Feb 2024 15:31:54 +0000 Subject: [PATCH] Increase default timeout for the `--timeout` flag to 10 minutes. This is required since the risk calculation can easily takle this long --- cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/root.go b/cmd/root.go index c75742dc..7db00421 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -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") }