You've already forked FrameTour-BE
VirtualThread
This commit is contained in:
@@ -610,7 +610,7 @@ public class TaskTaskServiceImpl implements TaskService {
|
||||
}
|
||||
}
|
||||
videoMapper.updateRelationWhenTaskSuccess(taskId, video.getId(), isBuy);
|
||||
new Thread(() -> sendVideoGeneratedServiceNotification(taskId)).start();
|
||||
Thread.ofVirtual().start(() -> sendVideoGeneratedServiceNotification(taskId));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user