Commit b1c6bbb9 authored by chenchao.deng's avatar chenchao.deng

放开定时任务

parent 24b2509a
......@@ -41,7 +41,7 @@ public class Set3proxyTask {
@Autowired
private ProxyConfigRepository proxyConfigRepository;
//@Scheduled(cron = "0 0/2 * * * ?")
@Scheduled(cron = "0 0/2 * * * ?")
public void set3proxy() {
long nowtime = Instant.now().toEpochMilli();
// List<String> tokenUsernames = mongoOAuth2AccessTokenRepository.findByCreatedAtGreaterThan(validTime).stream().map(MongoOAuth2AccessToken::getUsername).collect(Collectors.toList());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment