We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14ae46a commit 3aceb23Copy full SHA for 3aceb23
api/controllers/course.go
@@ -112,7 +112,7 @@ func CourseById(c *gin.Context) {
112
}
113
114
func CourseAll(c *gin.Context) {
115
- ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
+ ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
116
117
var courses []schema.Course
118
api/controllers/professor.go
@@ -122,7 +122,7 @@ func ProfessorById(c *gin.Context) {
122
123
124
func ProfessorAll(c *gin.Context) {
125
126
127
var professors []schema.Professor
128
0 commit comments