diff --git a/pkg/api/controllers.go b/pkg/api/controllers.go index 12ea940..795f327 100644 --- a/pkg/api/controllers.go +++ b/pkg/api/controllers.go @@ -173,7 +173,7 @@ func CreateTasksController(c *gin.Context) { } taskService := task.NewTaskService() - tasks, errors := taskService.CreateTasksWithTimeout(requestBody, minerUser.ID, 10*time.Second) + tasks, errors := taskService.CreateTasksWithTimeout(requestBody, minerUser.ID, 60*time.Second) if len(tasks) == 0 { c.AbortWithStatusJSON(http.StatusBadRequest, defaultErrorResponse(errors))