Commit 63cd388d authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 0919399d
......@@ -31,7 +31,7 @@ var commands = prog.CommandRegistry{
}
var helpTopics = prog.HelpRegistry{
// XXX for now empty
// empty for now
}
func main() {
......
......@@ -35,9 +35,6 @@ import (
const masterSummary = "run master node"
// TODO options:
// masterv ...
func masterUsage(w io.Writer) {
fmt.Fprintf(w,
`Usage: neo master [options]
......
......@@ -157,7 +157,7 @@ func listenAndServe(ctx context.Context, net xnet.Networker, laddr string, serve
return wg.Wait()
}
// noErrCloser turns `Close()` -> `Close() err` that alwasys returns nil.
// noErrCloser turns `Close()` -> `Close() err` that always returns nil.
type noErrCloser struct {
c interface { Close() }
}
......
......@@ -95,9 +95,9 @@ func storageMain(argv []string) {
// https://groups.google.com/forum/#!msg/golang-nuts/jPb_h3TvlKE/rQwbg-etCAAJ
// https://github.com/golang/go/issues/6817
//
// XXX check how varying this affects performance
// TODO check how varying this affects performance
//
// NOTE should be not needed once, hopefuly, Go runtime uses io_uring for IO
// NOTE should be not needed once, hopefully, Go runtime uses io_uring for IO
// https://github.com/golang/go/issues/31908
maxprocs := runtime.GOMAXPROCS(0)
runtime.GOMAXPROCS(maxprocs*8) // XXX *8 is enough?
......
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