Skip to content
This repository was archived by the owner on Apr 9, 2020. It is now read-only.

respect timeout value in config file #482

Closed
wants to merge 1 commit into from

Conversation

ayanamist
Copy link
Contributor

@ayanamist ayanamist commented Jul 2, 2019

Since ss.UpdateConfig will merge non-zero value in new, but cmdConfig from flag.Parse will always has a default value (300) from flag.IntVar(&cmdConfig.Timeout, ....), so the timeout value from config file will always be overwritten until explicit specify -t xxx in cmd line.
This PR fix this issue and respect timeout value in config file if no -t xxx is specified in cmd line.

@ayanamist ayanamist changed the title fix timeout support in config file respect timeout value in config file Jul 2, 2019
@ayanamist ayanamist closed this by deleting the head repository Apr 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant