Skip to content
Snippets Groups Projects
Commit 3c865d0a authored by Josh Brooks's avatar Josh Brooks
Browse files

Bump UncheckRoundPeriod on integration flag only

parent 74fb5dd0
Branches
Tags
1 merge request!23Release
...@@ -385,6 +385,9 @@ func initClient() *api.Client { ...@@ -385,6 +385,9 @@ func initClient() *api.Client {
netParams.ForceHistoricalRounds = viper.GetBool("forceHistoricalRounds") netParams.ForceHistoricalRounds = viper.GetBool("forceHistoricalRounds")
netParams.FastPolling = viper.GetBool(" slowPolling") netParams.FastPolling = viper.GetBool(" slowPolling")
netParams.ForceMessagePickupRetry = viper.GetBool("forceMessagePickupRetry") netParams.ForceMessagePickupRetry = viper.GetBool("forceMessagePickupRetry")
if netParams.ForceMessagePickupRetry {
netParams.UncheckRoundPeriod = 5 *time.Second
}
//load the client //load the client
client, err := api.Login(storeDir, []byte(pass), netParams) client, err := api.Login(storeDir, []byte(pass), netParams)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment