mirror of
https://github.com/didi/KnowStreaming.git
synced 2026-01-04 20:02:07 +08:00
增加对定时任务的说明
This commit is contained in:
@@ -275,6 +275,9 @@ public class AccountServiceImpl implements AccountService {
|
||||
return enterpriseStaffService.searchEnterpriseStaffByKeyWord(prefix);
|
||||
}
|
||||
|
||||
/**
|
||||
* 定时刷新account信息到缓存中
|
||||
*/
|
||||
@Scheduled(cron ="0/5 * * * * ?")
|
||||
public void flush() {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user