Quellcode durchsuchen

Z991239-1122 #comment feat:修改扫描文件时间间隔

Signed-Off-By: commit-hook
刘文涛174520 vor 5 Jahren
Ursprung
Commit
99bbf25efa
2 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 1 1
      Module/mod_upload/UploadFSM.cpp
  2. 2 2
      Module/mod_upload/upload.cpp

+ 1 - 1
Module/mod_upload/UploadFSM.cpp

@@ -193,7 +193,7 @@ void UploadFSM::s2_on_entry()
 
 	}
 	if (find_first_upload_file() == NULL) {
-		ScheduleTimer(1, 10000);
+		ScheduleTimer(1, 30000);
 	} else {
 		//把新增加的上传日期加入集合里面
 		insertUploadDate();

+ 2 - 2
Module/mod_upload/upload.cpp

@@ -588,7 +588,7 @@ static void dir_fresh(upload_dir_t *dir, const char *path)
 				}
 				else
 				{
-					Dbg("the time error! file %s", file_path);
+					Dbg("the time error!");
 				}
 			}
 #else		
@@ -662,7 +662,7 @@ static void dir_fresh(upload_dir_t *dir, const char *path)
 				}
 				else
 				{
-					Dbg("the time error! file %s", file_path);
+					Dbg("the time error!");
 				}
 			}