handle command counts efficiently

Related #66
This commit is contained in:
Gokcehan committed 2018-04-12 18:04:37 +03:00
1 parent 0175c1bd1b
commit 03619c3cbb
6 files changed
+116 -108

No files matched your search

+1 -1
View File
@@ -51,7 +51,7 @@ func readExpr() <-chan expr {
fmt.Fprintf(c, "conn %d\n", gClientID)
ch <- &callExpr{"sync", nil}
ch <- &callExpr{"sync", nil, 1}
s := bufio.NewScanner(c)
for s.Scan() {