Skip to content

Commit

Permalink
remove peter's miners, rep factor 1 (#623)
Browse files Browse the repository at this point in the history
* remove peter's miners, rep factor 1

Signed-off-by: Aaron Sutula <[email protected]>

* remove ws ping

Signed-off-by: Aaron Sutula <[email protected]>
  • Loading branch information
asutula authored Sep 26, 2020
1 parent 9fa08a4 commit 29e78f9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
4 changes: 0 additions & 4 deletions api/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ import (
const (
datastoreFolderName = "datastore"
lotusConnectionRetries = 10

// WSPingInterval controls the WebSocket keepalive pinging interval. Must be >= 1s.
WSPingInterval = time.Second * 5
)

var (
Expand Down Expand Up @@ -350,7 +347,6 @@ func wrapGRPCServer(grpcServer *grpc.Server) *grpcweb.WrappedGrpcServer {
}),
grpcweb.WithAllowedRequestHeaders([]string{"*"}),
grpcweb.WithWebsockets(true),
grpcweb.WithWebsocketPingInterval(WSPingInterval),
grpcweb.WithWebsocketOriginFunc(func(req *http.Request) bool {
return true
}),
Expand Down
3 changes: 1 addition & 2 deletions ffs/manager/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ var (
Cold: ffs.ColdConfig{
Enabled: true,
Filecoin: ffs.FilConfig{
RepFactor: 5,
TrustedMiners: []string{"t016303", "t016304", "t016305", "t016306", "t016309"},
RepFactor: 1,
DealMinDuration: util.MinDealDuration,
FastRetrieval: true,
DealStartOffset: 72 * 60 * 60 / util.EpochDurationSeconds, // 72hs
Expand Down

0 comments on commit 29e78f9

Please sign in to comment.