Skip to content

Commit

Permalink
修改队列任务超时时间
Browse files Browse the repository at this point in the history
  • Loading branch information
rroy233 committed Jul 7, 2023
1 parent 58bd21d commit 2b33421
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions db/queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ func initQueue(maxSize int) {
}

//队列任务超时时间
//队列最大长度*单个任务处理的最长时间(下载转码整套表情包的超时时间)
QueueTimeout = int64(maxSize * 60)
QueueTimeout = 30

queue = new(QStruct)
queue.size = 0
Expand Down

0 comments on commit 2b33421

Please sign in to comment.