forked from TrueCloudLab/frostfs-http-gw
Put artifacts into pool solely
Signed-off-by: Pavel Korotkov <pavel@nspcc.ru>
This commit is contained in:
parent
d7617110b7
commit
fad05b76d4
5 changed files with 78 additions and 70 deletions
2
app.go
2
app.go
|
@ -2,6 +2,7 @@ package main
|
|||
|
||||
import (
|
||||
"context"
|
||||
"math"
|
||||
"strconv"
|
||||
|
||||
"github.com/fasthttp/router"
|
||||
|
@ -104,6 +105,7 @@ func newApp(ctx context.Context, opt ...Option) App {
|
|||
NodeConnectionTimeout: a.cfg.GetDuration(cfgConTimeout),
|
||||
NodeRequestTimeout: a.cfg.GetDuration(cfgReqTimeout),
|
||||
ClientRebalanceInterval: a.cfg.GetDuration(cfgRebalance),
|
||||
SessionExpirationEpoch: math.MaxUint64,
|
||||
}
|
||||
pool, err := pb.Build(ctx, opts)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue