Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

Commit

Permalink
perf(Config): 修改24h壁纸时的更新频率为10分钟
Browse files Browse the repository at this point in the history
由于所用获取ip和地理位置的api请求是否成功具有不确定性,如果一小时更新一次,一旦api出问题,壁纸更新及时性将大打折扣

Author: ambition-echo
  • Loading branch information
ambition_echo committed Aug 5, 2022
1 parent 3d50835 commit 8d9cef5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trayicon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ void TrayIcon::handle()
command = "python3 " + exePath + "/scripts/" + "5.py " + wallpaperDir;
break;
case 6:
settings->setValue("APP/updateTime", "60");
settings->setValue("APP/updateTime", "10");
command = "python3 " + exePath + "/scripts/" + "6.py " + wallpaperFile;
break;
}
Expand Down

0 comments on commit 8d9cef5

Please sign in to comment.