|
|
@@ -285,7 +285,7 @@ public class UserBalanceService {
|
|
|
|
|
|
@Async
|
|
|
public void autoWithdraw(LocalDate date) throws ExecutionException, InterruptedException {
|
|
|
- ForkJoinPool customThreadPool = new ForkJoinPool(2);
|
|
|
+ ForkJoinPool customThreadPool = new ForkJoinPool(5);
|
|
|
customThreadPool.submit(() -> {
|
|
|
autoWithdrawRecordRepo.findByDate(date).ifPresent(a -> {
|
|
|
throw new BusinessException("今日已经提现过");
|