Remove old code comment

This commit is contained in:
Elara 2022-04-22 17:19:23 -07:00
parent de19b77c13
commit 4caa504db1

View File

@ -111,20 +111,6 @@ func startSocket(dev *infinitime.Device) error {
go srv.ServeListener("unix", ln)
/*
go func() {
for {
// Accept socket connection
conn, err := ln.Accept()
if err != nil {
log.Error().Err(err).Msg("Error accepting connection")
}
// Concurrently handle connection
go handleConnection(conn, dev, fs)
}
}()*/
// Log socket start
log.Info().Str("path", k.String("socket.path")).Msg("Started control socket")