in gdbclient/settings.go [116:134]
func (s *Settings) getSessionOpts() *pool.Options {
return &pool.Options{
GdbUrl: "ws://" + s.Host + ":" + strconv.FormatInt(int64(s.Port), 10) + "/gremlin",
Username: s.Username,
Password: s.Password,
PingInterval: s.PingInterval,
WriteTimeout: s.WriteTimeout,
ReadTimeout: s.ReadTimeout,
MaxConnAge: s.MaxConnAge,
PoolSize: 1,
PoolTimeout: s.PoolTimeout,
MaxInProcessPerConn: 2,
MaxSimultaneousUsagePerConn: 2,
AliveCheckInterval: s.AliveCheckInterval,
Dialer: pool.NewConnWebSocket,
}
}