reykit 1.2.85__tar.gz → 1.2.87__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.
- {reykit-1.2.85 → reykit-1.2.87}/PKG-INFO +1 -1
- {reykit-1.2.85 → reykit-1.2.87}/pyproject.toml +1 -1
- {reykit-1.2.85 → reykit-1.2.87}/src/reykit/rschedule.py +4 -1
- {reykit-1.2.85 → reykit-1.2.87}/.gitignore +0 -0
- {reykit-1.2.85 → reykit-1.2.87}/.python-version +0 -0
- {reykit-1.2.85 → reykit-1.2.87}/LICENSE +0 -0
- {reykit-1.2.85 → reykit-1.2.87}/README.md +0 -0
- {reykit-1.2.85 → reykit-1.2.87}/README_zh.md +0 -0
- {reykit-1.2.85 → reykit-1.2.87}/src/reykit/__init__.py +0 -0
- {reykit-1.2.85 → reykit-1.2.87}/src/reykit/rall.py +0 -0
- {reykit-1.2.85 → reykit-1.2.87}/src/reykit/rbase.py +0 -0
- {reykit-1.2.85 → reykit-1.2.87}/src/reykit/rdata.py +0 -0
- {reykit-1.2.85 → reykit-1.2.87}/src/reykit/rdll/__init__.py +0 -0
- {reykit-1.2.85 → reykit-1.2.87}/src/reykit/rdll/rdll_core.py +0 -0
- {reykit-1.2.85 → reykit-1.2.87}/src/reykit/remail.py +0 -0
- {reykit-1.2.85 → reykit-1.2.87}/src/reykit/rimage.py +0 -0
- {reykit-1.2.85 → reykit-1.2.87}/src/reykit/rlog.py +0 -0
- {reykit-1.2.85 → reykit-1.2.87}/src/reykit/rmonkey.py +0 -0
- {reykit-1.2.85 → reykit-1.2.87}/src/reykit/rnet.py +0 -0
- {reykit-1.2.85 → reykit-1.2.87}/src/reykit/rnum.py +0 -0
- {reykit-1.2.85 → reykit-1.2.87}/src/reykit/ros.py +0 -0
- {reykit-1.2.85 → reykit-1.2.87}/src/reykit/rrand.py +0 -0
- {reykit-1.2.85 → reykit-1.2.87}/src/reykit/rre.py +0 -0
- {reykit-1.2.85 → reykit-1.2.87}/src/reykit/rstdout.py +0 -0
- {reykit-1.2.85 → reykit-1.2.87}/src/reykit/rsys.py +0 -0
- {reykit-1.2.85 → reykit-1.2.87}/src/reykit/rtable.py +0 -0
- {reykit-1.2.85 → reykit-1.2.87}/src/reykit/rtask.py +0 -0
- {reykit-1.2.85 → reykit-1.2.87}/src/reykit/rtext.py +0 -0
- {reykit-1.2.85 → reykit-1.2.87}/src/reykit/rtime.py +0 -0
- {reykit-1.2.85 → reykit-1.2.87}/src/reykit/rwrap.py +0 -0
- {reykit-1.2.85 → reykit-1.2.87}/uv.lock +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: reykit
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.87
|
|
4
4
|
Summary: General-purpose utility method integration package.
|
|
5
5
|
Project-URL: Homepage, https://www.reyxbo.com/release/python/reykit
|
|
6
6
|
Project-URL: Repository, https://github.com/reyxbo/reykit-py.git
|
|
@@ -65,6 +65,7 @@ class Schedule(Base):
|
|
|
65
65
|
self,
|
|
66
66
|
max_workers: int = 10,
|
|
67
67
|
max_instances: int = 1,
|
|
68
|
+
max_wait: int = 60,
|
|
68
69
|
coalesce: bool = True,
|
|
69
70
|
block: bool = False,
|
|
70
71
|
db_engine: DatabaseEngine | None = None,
|
|
@@ -77,6 +78,7 @@ class Schedule(Base):
|
|
|
77
78
|
----------
|
|
78
79
|
max_workers : Maximum number of synchronized executions.
|
|
79
80
|
max_instances : Maximum number of synchronized executions of tasks with the same ID.
|
|
81
|
+
max_wait : Maximum seconds of waiting for the tasks to start.
|
|
80
82
|
coalesce : Whether to coalesce tasks with the same ID.
|
|
81
83
|
block : Whether to block.
|
|
82
84
|
db_engine : Database engine.
|
|
@@ -94,7 +96,8 @@ class Schedule(Base):
|
|
|
94
96
|
executors = {'default': executor}
|
|
95
97
|
job_defaults = {
|
|
96
98
|
'coalesce': coalesce,
|
|
97
|
-
'max_instances': max_instances
|
|
99
|
+
'max_instances': max_instances,
|
|
100
|
+
'misfire_grace_time': max_wait
|
|
98
101
|
}
|
|
99
102
|
if block:
|
|
100
103
|
scheduler = BlockingScheduler(
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|