1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-08 05:57:03 +09:00
any-sync/commonspace/sync/synctest/config.go
2024-06-15 21:51:50 +02:00

29 lines
478 B
Go

package synctest
import (
"github.com/anyproto/any-sync/app"
"github.com/anyproto/any-sync/net/streampool"
)
type Config struct {
}
func NewConfig() *Config {
return &Config{}
}
func (c *Config) Init(a *app.App) (err error) {
return
}
func (c *Config) Name() (name string) {
return "config"
}
func (c *Config) GetStreamConfig() streampool.StreamConfig {
return streampool.StreamConfig{
SendQueueSize: 100,
DialQueueWorkers: 100,
DialQueueSize: 100,
}
}