上麦时长处理
This commit is contained in:
parent
4b2b9648ad
commit
1cb37230ea
@ -140,10 +140,9 @@ public class TaskListener implements MessageListener {
|
||||
int result = Integer.parseInt(inc) + 1;
|
||||
eventBody.setTargetValue(10);
|
||||
eventBody.setCompleteValue(Math.min(result, 10));
|
||||
boolean updated = updateTaskStatus(eventBody);
|
||||
if (updated) {
|
||||
redisService.increment(redisKey, 1);
|
||||
}
|
||||
updateTaskStatus(eventBody);
|
||||
|
||||
redisService.increment(redisKey, 1);
|
||||
}
|
||||
|
||||
// 处理 Spins 上麦任务进度
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user