diff --git a/api/controllers/professor.go b/api/controllers/professor.go index 705a075..d46a649 100644 --- a/api/controllers/professor.go +++ b/api/controllers/professor.go @@ -122,7 +122,7 @@ func ProfessorById(c *gin.Context) { } func ProfessorAll(c *gin.Context) { - ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second) + ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second) var professors []schema.Professor