ryry-cli 2.14__tar.gz → 2.16__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ryry_cli-2.14/ryry_cli.egg-info → ryry_cli-2.16}/PKG-INFO +1 -1
- ryry_cli-2.16/ryry/constant.py +5 -0
- {ryry_cli-2.14 → ryry_cli-2.16}/ryry/ryry_service.py +3 -3
- {ryry_cli-2.14 → ryry_cli-2.16}/ryry/ryry_webapi.py +3 -2
- {ryry_cli-2.14 → ryry_cli-2.16/ryry_cli.egg-info}/PKG-INFO +1 -1
- {ryry_cli-2.14 → ryry_cli-2.16}/setup.py +1 -1
- ryry_cli-2.14/ryry/constant.py +0 -5
- {ryry_cli-2.14 → ryry_cli-2.16}/LICENSE +0 -0
- {ryry_cli-2.14 → ryry_cli-2.16}/README.md +0 -0
- {ryry_cli-2.14 → ryry_cli-2.16}/ryry/__init__.py +0 -0
- {ryry_cli-2.14 → ryry_cli-2.16}/ryry/main.py +0 -0
- {ryry_cli-2.14 → ryry_cli-2.16}/ryry/ryry_server_socket.py +0 -0
- {ryry_cli-2.14 → ryry_cli-2.16}/ryry/ryry_widget.py +0 -0
- {ryry_cli-2.14 → ryry_cli-2.16}/ryry/script_template/__init__.py +0 -0
- {ryry_cli-2.14 → ryry_cli-2.16}/ryry/script_template/main.py +0 -0
- {ryry_cli-2.14 → ryry_cli-2.16}/ryry/script_template/run.py +0 -0
- {ryry_cli-2.14 → ryry_cli-2.16}/ryry/server_func.py +0 -0
- {ryry_cli-2.14 → ryry_cli-2.16}/ryry/store.py +0 -0
- {ryry_cli-2.14 → ryry_cli-2.16}/ryry/task.py +0 -0
- {ryry_cli-2.14 → ryry_cli-2.16}/ryry/taskUtils.py +0 -0
- {ryry_cli-2.14 → ryry_cli-2.16}/ryry/upload.py +0 -0
- {ryry_cli-2.14 → ryry_cli-2.16}/ryry/utils.py +0 -0
- {ryry_cli-2.14 → ryry_cli-2.16}/ryry_cli.egg-info/SOURCES.txt +0 -0
- {ryry_cli-2.14 → ryry_cli-2.16}/ryry_cli.egg-info/dependency_links.txt +0 -0
- {ryry_cli-2.14 → ryry_cli-2.16}/ryry_cli.egg-info/entry_points.txt +0 -0
- {ryry_cli-2.14 → ryry_cli-2.16}/ryry_cli.egg-info/requires.txt +0 -0
- {ryry_cli-2.14 → ryry_cli-2.16}/ryry_cli.egg-info/top_level.txt +0 -0
- {ryry_cli-2.14 → ryry_cli-2.16}/setup.cfg +0 -0
|
@@ -149,8 +149,8 @@ class ryryPackageThread(Thread):
|
|
|
149
149
|
return ""
|
|
150
150
|
def run(self):
|
|
151
151
|
while (os.path.exists(stop_thread_file) == False):
|
|
152
|
-
time.sleep(
|
|
153
|
-
if calendar.timegm(time.gmtime()) - self.last_check_time >
|
|
152
|
+
time.sleep(10)
|
|
153
|
+
if calendar.timegm(time.gmtime()) - self.last_check_time > 300:
|
|
154
154
|
self.last_check_time = calendar.timegm(time.gmtime())
|
|
155
155
|
try:
|
|
156
156
|
#update widget
|
|
@@ -178,7 +178,7 @@ class ryryPackageThread(Thread):
|
|
|
178
178
|
break
|
|
179
179
|
except Exception as ex:
|
|
180
180
|
print(f'update ryry-cli fail, {ex}')
|
|
181
|
-
time.sleep(
|
|
181
|
+
time.sleep(10)
|
|
182
182
|
print(f" PackageChecker stop")
|
|
183
183
|
notify_other_stoped() #because other thread is waiting some signal to close
|
|
184
184
|
def markStop(self):
|
|
@@ -69,17 +69,18 @@ def GetTask():
|
|
|
69
69
|
}
|
|
70
70
|
r1, r2, r3 = _aigc_post("aigc/task/getTask", req)
|
|
71
71
|
if r1 != 0:
|
|
72
|
-
return []
|
|
72
|
+
return []
|
|
73
73
|
datas = []
|
|
74
74
|
for it in r3:
|
|
75
75
|
datas.append({
|
|
76
76
|
"taskUUID": it["task_uuid"],
|
|
77
77
|
"config": it["config"],
|
|
78
78
|
"data": it["data"],
|
|
79
|
+
"timeout": it["timeout"],
|
|
79
80
|
})
|
|
80
81
|
#Previous tasks may have failed due to network problems, so collect and resend
|
|
81
82
|
retryLastTaskNotify()
|
|
82
|
-
return datas
|
|
83
|
+
return datas
|
|
83
84
|
|
|
84
85
|
TASK_NOTIFY_DATA = os.path.join(os.path.dirname(os.path.abspath(__file__)), f"task_notify_data.json")
|
|
85
86
|
def saveTaskNotifyData(taskUUID, status, msg, dataStr):
|
|
@@ -3,7 +3,7 @@ import os
|
|
|
3
3
|
import subprocess
|
|
4
4
|
import datetime
|
|
5
5
|
|
|
6
|
-
ryry_version = "2.
|
|
6
|
+
ryry_version = "2.16"
|
|
7
7
|
ryry_build_number = int(ryry_version.replace(".",""))
|
|
8
8
|
cur_dir = os.path.dirname(os.path.abspath(__file__))
|
|
9
9
|
constanspy = os.path.join(cur_dir, "ryry", "constant.py")
|
ryry_cli-2.14/ryry/constant.py
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|