Commit 5954b705 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent e3ba71d3
// Copyright (C) 2017-2020 Nexedi SA and Contributors.
// Copyright (C) 2017-2021 Nexedi SA and Contributors.
// Kirill Smelkov <kirr@nexedi.com>
//
// This program is free software: you can Use, Study, Modify and Redistribute
......@@ -30,7 +30,6 @@ import (
"lab.nexedi.com/kirr/go123/exc"
)
// XXX dup from connection_test
func xwait(w interface { Wait() error }) {
err := w.Wait()
exc.Raiseif(err)
......@@ -66,7 +65,7 @@ func (c *vclock) monotime() float64 {
return c.t
}
func (c *vclock) tick() { // XXX do we need tick?
func (c *vclock) tick() {
t := math.Ceil(c.t)
if !(t > c.t) {
t += 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment