1
0
Fork 0

Update helpers.go

master
Philip O'Toole 4 years ago committed by GitHub
parent 84849a3ddf
commit dbcaec623c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -20,6 +20,7 @@ import (
)
const (
// SnapshotInterval is the period between snapshot checks
SnapshotInterval = time.Second
)
@ -147,6 +148,7 @@ func (n *Node) QueryParameterized(stmt []interface{}) (string, error) {
return n.postQuery(string(j))
}
// Noop inserts a noop command into the Store's Raft log.
func (n *Node) Noop(id string) error {
return n.Store.Noop(id)
}

Loading…
Cancel
Save