yangtb24 commited on
Commit
16904b5
·
verified ·
1 Parent(s): 4360824

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -144,7 +144,7 @@ def load_data_from_webdav():
144
  def periodic_save():
145
  print("定期保存线程已启动")
146
  while True:
147
- time.sleep(60) # 等待60秒
148
  save_data_to_webdav()
149
 
150
  # 在程序启动时加载数据
 
144
  def periodic_save():
145
  print("定期保存线程已启动")
146
  while True:
147
+ time.sleep(5) # 等待60秒
148
  save_data_to_webdav()
149
 
150
  # 在程序启动时加载数据