Skip to content

Commit

Permalink
Merge pull request #1116 from golemfactory/provider/decrease-keep-ali…
Browse files Browse the repository at this point in the history
…ve-timeout

Provider - decrease Agreement expiration in case of keep alive enabled
  • Loading branch information
tworec authored Mar 4, 2021
2 parents 1cd03cb + 7e23251 commit 03014a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/provider/src/market/negotiator/factory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub struct LimitAgreementsNegotiatorConfig {
pub struct AgreementExpirationNegotiatorConfig {
#[structopt(long, env, parse(try_from_str = humantime::parse_duration), default_value = "5min")]
pub min_agreement_expiration: std::time::Duration,
#[structopt(long, env, parse(try_from_str = humantime::parse_duration), default_value = "3h")]
#[structopt(long, env, parse(try_from_str = humantime::parse_duration), default_value = "30min")]
pub max_agreement_expiration: std::time::Duration,
#[structopt(long, env, parse(try_from_str = humantime::parse_duration), default_value = "30min")]
pub max_agreement_expiration_without_deadline: std::time::Duration,
Expand Down

0 comments on commit 03014a4

Please sign in to comment.