Commit 5b61fa33 authored by Kirill Smelkov's avatar Kirill Smelkov

X Sgo: turn on sha1 compute on - so that all neo/ tests are passing

null:00   ; oid=0..16995  nread=68269354  t=815.489603ms (47.981µs / object)  x=zsha1.go
null:00   ; oid=0..16995  nread=68269354  t=809.428095ms (47.624µs / object)  x=zsha1.go
null:00   ; oid=0..16995  nread=68269354  t=815.088024ms (47.957µs / object)  x=zsha1.go
null:00   ; oid=0..16995  nread=68269354  t=803.725121ms (47.289µs / object)  x=zsha1.go
parent 4324c812
......@@ -22,7 +22,7 @@ package server
import (
"context"
//"crypto/sha1"
"crypto/sha1"
"fmt"
"sync"
"time"
......@@ -520,7 +520,7 @@ func (stor *Storage) serveClient1(ctx context.Context, req neo.Msg) (resp neo.Ms
Compression: false,
Data: buf,
//Checksum: sha1.Sum(buf.Data), // XXX computing every time
Checksum: sha1.Sum(buf.Data), // XXX computing every time
// XXX .NextSerial
// XXX .DataSerial
......
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