server/config/config.go 🔗 @@ -124,7 +124,7 @@ func parseConfig(path string) (*Config, error) { PublicURL: "ssh://localhost:23231", KeyPath: filepath.Join("ssh", "soft_serve_host_ed25519"), MaxTimeout: 0, - IdleTimeout: 120, + IdleTimeout: 0, }, Git: GitConfig{ ListenAddr: ":9418",
server/config/file.go 🔗 @@ -29,6 +29,7 @@ ssh: max_timeout: {{ .SSH.MaxTimeout }} # The number of seconds a connection can be idle before it is closed. + # A value of 0 means no timeout. idle_timeout: {{ .SSH.IdleTimeout }} # The Git daemon configuration.