add new config options for the http client (#330)

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer
2020-07-01 23:08:17 +02:00
committed by GitHub
parent a6346a1a98
commit ac26af32cf
5 changed files with 15 additions and 5 deletions
+2 -2
View File
@@ -90,8 +90,8 @@ func GatewayWithConfig(cfg *config.Config) []cli.Flag {
},
&cli.IntFlag{
Name: "transfer-expires",
Value: 24 * 60 * 60,
Usage: "Transfer secret for datagateway",
Value: 24 * 60 * 60, // one day
Usage: "Transfer token ttl in seconds",
EnvVars: []string{"REVA_TRANSFER_EXPIRES"},
Destination: &cfg.Reva.TransferExpires,
},