blob: b194861d932608dcdbcd7b27728c7c0e847f32a6 [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package rpc
import "time"
const (
// The publisher re-mounts on this period.
publishPeriod = time.Minute
// The server uses this timeout for incoming calls before the real timeout is known.
// The client uses this as the default max time for connecting to the server including
// name resolution.
defaultCallTimeout = time.Minute
// The client uses this as the maximum time between retry attempts when starting a call.
maxBackoff = time.Minute
)