mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update index.py
This commit is contained in:
@@ -3278,6 +3278,7 @@ def isSimpleSyncCmd(sql):
|
||||
|
||||
|
||||
def doFullSyncUser(version=''):
|
||||
time_all_s = time.time()
|
||||
args = getArgs()
|
||||
data = checkArgs(args, ['db', 'sign'])
|
||||
if not data[0]:
|
||||
@@ -3416,8 +3417,8 @@ def doFullSyncUser(version=''):
|
||||
# if os.path.exists(bak_file):
|
||||
# os.system("rm -rf " + bak_file)
|
||||
|
||||
time_e = time.time()
|
||||
print("cos:", time_e - time_s)
|
||||
time_all_e = time.time()
|
||||
print("cos:", time_all_e - time_all_s)
|
||||
return True
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user