aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/chunk/chunk.go
diff options
context:
space:
mode:
authorElad <theman@elad.im>2019-05-09 16:54:06 +0800
committerAnton Evangelatov <anton.evangelatov@gmail.com>2019-05-10 18:29:22 +0800
commit84dfaea246dea179319db90a63afc1189cd09246 (patch)
treec97fcdbb43e16c43e9670056f16c3c407ada6521 /swarm/chunk/chunk.go
parent3e9ba576694e7df018b3c9fa2c1d3aa7d55031fe (diff)
downloadgo-tangerine-84dfaea246dea179319db90a63afc1189cd09246.tar
go-tangerine-84dfaea246dea179319db90a63afc1189cd09246.tar.gz
go-tangerine-84dfaea246dea179319db90a63afc1189cd09246.tar.bz2
go-tangerine-84dfaea246dea179319db90a63afc1189cd09246.tar.lz
go-tangerine-84dfaea246dea179319db90a63afc1189cd09246.tar.xz
go-tangerine-84dfaea246dea179319db90a63afc1189cd09246.tar.zst
go-tangerine-84dfaea246dea179319db90a63afc1189cd09246.zip
swarm: instrument setNextBatch
swarm/storage/localstore: add gc metrics, disable flaky test
Diffstat (limited to 'swarm/chunk/chunk.go')
-rw-r--r--swarm/chunk/chunk.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/swarm/chunk/chunk.go b/swarm/chunk/chunk.go
index 17f49348b..c44292bb9 100644
--- a/swarm/chunk/chunk.go
+++ b/swarm/chunk/chunk.go
@@ -197,7 +197,7 @@ func (m ModeSet) String() string {
const (
// ModeSetAccess: when an update request is received for a chunk or chunk is retrieved for delivery
ModeSetAccess ModeSet = iota
- // ModeSetSync: when push sync receipt is received
+ // ModeSetSync: when a chunk is added to a pull sync batch or when a push sync receipt is received
ModeSetSync
// ModeSetRemove: when a chunk is removed
ModeSetRemove