mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-10 18:10:54 +09:00
file bench service
This commit is contained in:
parent
f41a7f8c6a
commit
3d195f4b6b
14 changed files with 319 additions and 99 deletions
|
@ -10,6 +10,7 @@ import (
|
|||
"github.com/anytypeio/go-anytype-infrastructure-experiments/service/account"
|
||||
"github.com/anytypeio/go-anytype-infrastructure-experiments/service/api"
|
||||
"github.com/anytypeio/go-anytype-infrastructure-experiments/service/configuration"
|
||||
"github.com/anytypeio/go-anytype-infrastructure-experiments/service/file"
|
||||
"github.com/anytypeio/go-anytype-infrastructure-experiments/service/net/dialer"
|
||||
"github.com/anytypeio/go-anytype-infrastructure-experiments/service/net/pool"
|
||||
"github.com/anytypeio/go-anytype-infrastructure-experiments/service/net/rpc/server"
|
||||
|
@ -96,6 +97,7 @@ func Bootstrap(a *app.App) {
|
|||
Register(node.New()).
|
||||
Register(secure.New()).
|
||||
Register(server.New()).
|
||||
Register(&file.Service{}).
|
||||
Register(dialer.New()).
|
||||
Register(pool.NewPool()).
|
||||
Register(configuration.New()).
|
||||
|
|
|
@ -1,9 +1,13 @@
|
|||
nodes:
|
||||
- grpcAddresses:
|
||||
- "127.0.0.1:4430"
|
||||
- "127.0.0.1:4431"
|
||||
apiPort: "8080"
|
||||
- grpcAddresses:
|
||||
- "127.0.0.1:4432"
|
||||
- "127.0.0.1:4433"
|
||||
- "127.0.0.1:4431"
|
||||
apiPort: "8081"
|
||||
- grpcAddresses:
|
||||
- "127.0.0.1:4432"
|
||||
apiPort: "8082"
|
||||
- grpcAddresses:
|
||||
- "127.0.0.1:4433"
|
||||
apiPort: "8083"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue