mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
swarm, cmd: gofmt updates"
This commit is contained in:
parent
2158dbc10a
commit
e802c8a383
6 changed files with 10 additions and 11 deletions
|
|
@ -25,9 +25,9 @@ import (
|
||||||
|
|
||||||
const (
|
const (
|
||||||
SwarmfsVersion = "0.1"
|
SwarmfsVersion = "0.1"
|
||||||
mountTimeout = time.Second * 5
|
mountTimeout = time.Second * 5
|
||||||
unmountTimeout = time.Second * 10
|
unmountTimeout = time.Second * 10
|
||||||
maxFuseMounts = 5
|
maxFuseMounts = 5
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
||||||
|
|
@ -223,7 +223,6 @@ func (h *Hive) keepAlive() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
func (h *Hive) Stop() error {
|
func (h *Hive) Stop() error {
|
||||||
// closing toggle channel quits the updateloop
|
// closing toggle channel quits the updateloop
|
||||||
close(h.quit)
|
close(h.quit)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue