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.
Files changed (28) hide show
  1. {ryry_cli-2.14/ryry_cli.egg-info → ryry_cli-2.16}/PKG-INFO +1 -1
  2. ryry_cli-2.16/ryry/constant.py +5 -0
  3. {ryry_cli-2.14 → ryry_cli-2.16}/ryry/ryry_service.py +3 -3
  4. {ryry_cli-2.14 → ryry_cli-2.16}/ryry/ryry_webapi.py +3 -2
  5. {ryry_cli-2.14 → ryry_cli-2.16/ryry_cli.egg-info}/PKG-INFO +1 -1
  6. {ryry_cli-2.14 → ryry_cli-2.16}/setup.py +1 -1
  7. ryry_cli-2.14/ryry/constant.py +0 -5
  8. {ryry_cli-2.14 → ryry_cli-2.16}/LICENSE +0 -0
  9. {ryry_cli-2.14 → ryry_cli-2.16}/README.md +0 -0
  10. {ryry_cli-2.14 → ryry_cli-2.16}/ryry/__init__.py +0 -0
  11. {ryry_cli-2.14 → ryry_cli-2.16}/ryry/main.py +0 -0
  12. {ryry_cli-2.14 → ryry_cli-2.16}/ryry/ryry_server_socket.py +0 -0
  13. {ryry_cli-2.14 → ryry_cli-2.16}/ryry/ryry_widget.py +0 -0
  14. {ryry_cli-2.14 → ryry_cli-2.16}/ryry/script_template/__init__.py +0 -0
  15. {ryry_cli-2.14 → ryry_cli-2.16}/ryry/script_template/main.py +0 -0
  16. {ryry_cli-2.14 → ryry_cli-2.16}/ryry/script_template/run.py +0 -0
  17. {ryry_cli-2.14 → ryry_cli-2.16}/ryry/server_func.py +0 -0
  18. {ryry_cli-2.14 → ryry_cli-2.16}/ryry/store.py +0 -0
  19. {ryry_cli-2.14 → ryry_cli-2.16}/ryry/task.py +0 -0
  20. {ryry_cli-2.14 → ryry_cli-2.16}/ryry/taskUtils.py +0 -0
  21. {ryry_cli-2.14 → ryry_cli-2.16}/ryry/upload.py +0 -0
  22. {ryry_cli-2.14 → ryry_cli-2.16}/ryry/utils.py +0 -0
  23. {ryry_cli-2.14 → ryry_cli-2.16}/ryry_cli.egg-info/SOURCES.txt +0 -0
  24. {ryry_cli-2.14 → ryry_cli-2.16}/ryry_cli.egg-info/dependency_links.txt +0 -0
  25. {ryry_cli-2.14 → ryry_cli-2.16}/ryry_cli.egg-info/entry_points.txt +0 -0
  26. {ryry_cli-2.14 → ryry_cli-2.16}/ryry_cli.egg-info/requires.txt +0 -0
  27. {ryry_cli-2.14 → ryry_cli-2.16}/ryry_cli.egg-info/top_level.txt +0 -0
  28. {ryry_cli-2.14 → ryry_cli-2.16}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ryry-cli
3
- Version: 2.14
3
+ Version: 2.16
4
4
  Summary: ryry tools
5
5
  Home-page: https://github.com/dalipenMedia
6
6
  Author: dalipen
@@ -0,0 +1,5 @@
1
+ #!!!!! do not change this file !!!!!
2
+ app_version="2.16"
3
+ app_bulld_number=216
4
+ app_bulld_anchor="Noh_2024-06-17 09:53:15.110700"
5
+ app_name="ryry-cli"
@@ -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(1)
153
- if calendar.timegm(time.gmtime()) - self.last_check_time > 100:
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(1)
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 [], 10
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, 600
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):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ryry-cli
3
- Version: 2.14
3
+ Version: 2.16
4
4
  Summary: ryry tools
5
5
  Home-page: https://github.com/dalipenMedia
6
6
  Author: dalipen
@@ -3,7 +3,7 @@ import os
3
3
  import subprocess
4
4
  import datetime
5
5
 
6
- ryry_version = "2.14"
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")
@@ -1,5 +0,0 @@
1
- #!!!!! do not change this file !!!!!
2
- app_version="2.14"
3
- app_bulld_number=214
4
- app_bulld_anchor="Noh_2024-06-14 17:48:46.988372"
5
- app_name="ryry-cli"
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