mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-08 05:57:03 +09:00
29 lines
478 B
Go
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,
|
|
}
|
|
}
|