fix#防止重复调用

This commit is contained in:
wujifei
2021-01-13 21:55:57 +08:00
parent f77b462f3f
commit 1b6acc5266

View File

@@ -683,7 +683,8 @@ public class V2XRefreshModel {
Logger.d("V2XRefreshModel", "主页没有显示");
return;
}
if (System.currentTimeMillis() - startTime < 1000 * 60) {
if (System.currentTimeMillis() - startTime < 1000 * 10) {
Logger.d("V2XRefreshModel", "频繁调用");
return;
}
startTime = System.currentTimeMillis();