Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
xyxBooking-weapp
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2026-01-17 00:22:44 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
82af5c314ca5994b6ff1bfd7108ba0b215dfa793
82af5c31
1 parent
cede6840
perf: 减少离线预订缓存轮询间隔以提高响应速度
将离线预订缓存轮询间隔从5分钟减少到2分钟,以在离线状态下更快获取最新预订信息
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/app.js
src/app.js
View file @
82af5c3
/*
* @Date: 2025-06-28 10:33:00
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2026-01-17 00:2
1:26
* @LastEditTime: 2026-01-17 00:2
2:34
* @FilePath: /xyxBooking-weapp/src/app.js
* @Description: 应用入口文件
*/
...
...
@@ -170,7 +170,7 @@ const App = createApp({
*/
const
bootstrap_after_auth
=
()
=>
{
try_preload_when_online
()
enable_offline_booking_cache_polling
({
interval_ms
:
5
*
1000
*
60
})
enable_offline_booking_cache_polling
({
interval_ms
:
2
*
1000
*
60
})
}
// 处理在启动时出现的不良网络情况
...
...
Please
register
or
login
to post a comment