Description
For example:
// Volatile: This option is subject to change at any time.
|
if valStr, ok := fetchOption("kv_scan_timeout"); ok { |
val, err := strconv.ParseInt(valStr, 10, 64) |
if err != nil { |
return fmt.Errorf("query_timeout option must be a number") |
}
|
c.timeoutsConfig.KVTimeout = time.Duration(val) * time.Millisecond
|
}
|
Attachments
For Gerrit Dashboard: GOCBC-1655 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
213743,3 | GOCBC-1655: Fix typos in connstr timeout option errors | master | gocb | Status: MERGED | +2 | +1 |