diff --git a/internal/api/server.go b/internal/api/server.go index 7aec67fa..d1b0ff75 100644 --- a/internal/api/server.go +++ b/internal/api/server.go @@ -10,6 +10,7 @@ import ( "os" "os/signal" "syscall" + "time" "github.com/edulinq/autograder/internal/api/core" "github.com/edulinq/autograder/internal/common" @@ -32,6 +33,8 @@ func StartServer() error { serverErrorChannel <- startAPIServer() }() + time.Sleep(10 * time.Millisecond) + go func() { serverErrorChannel <- startUnixServer() }()