Skip to content

Commit

Permalink
Allow COG_PIPELINE_TIMEOUT to set the timeout at runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
nmohoric committed Aug 28, 2017
1 parent ae04924 commit 1be9b46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ config :cog, Cog.Bundle.BundleSup,
bundle_root: Path.join([File.cwd!, "bundles"])

config :cog, Cog.Command.Pipeline,
interactive_timeout: {60, :sec},
interactive_timeout: {String.to_integer(System.get_env("COG_PIPELINE_TIMEOUT") || "60"), :sec},
trigger_timeout: {300, :sec}

config :cog, Cog.Command.Service,
Expand Down

0 comments on commit 1be9b46

Please sign in to comment.