externalize timeout value
This commit is contained in:
parent
a715282c00
commit
8905233375
2 changed files with 3 additions and 3 deletions
|
@ -57,7 +57,7 @@ func main() {
|
|||
}
|
||||
|
||||
//Create new configuration with default transport layer
|
||||
config, err := realis.NewDefaultConfig(*url)
|
||||
config, err := realis.NewDefaultConfig(*url, 10000)
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
os.Exit(1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue