asyncactor 0.26.0__tar.gz → 0.26.2__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.
- {asyncactor-0.26.0 → asyncactor-0.26.2}/PKG-INFO +1 -1
- {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor/actor.py +1 -1
- {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor/messages.py +4 -4
- {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor.egg-info/PKG-INFO +1 -1
- {asyncactor-0.26.0 → asyncactor-0.26.2}/.coveragerc +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/.gitignore +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/.pylintrc +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/.readthedocs.yml +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/.style.yapf +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/.travis.yml +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/CHANGELOG.rst +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/LICENSE +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/Makefile +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/README.rst +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor/__init__.py +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor/abc.py +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor/backend/__init__.py +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor/backend/moat_kv.py +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor/backend/moat_link.py +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor/backend/mqtt.py +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor/backend/mqttproto.py +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor/backend/serf.py +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor/events.py +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor/exceptions.py +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor/nodelist.py +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor.egg-info/SOURCES.txt +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor.egg-info/dependency_links.txt +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor.egg-info/requires.txt +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor.egg-info/top_level.txt +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/ci/rtd-requirements.txt +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/ci/test-requirements.txt +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/ci/travis.sh +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/docs/Makefile +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/docs/make.bat +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/docs/source/_static/.git_empty +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/docs/source/actor.rst +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/docs/source/conf.py +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/docs/source/history.rst +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/docs/source/index.rst +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/docs/source/rationale.rst +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/mktag +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/pyproject.toml +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/setup.cfg +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/tests/__init__.py +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/tests/mock_serf.py +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/tests/test_actor.py +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/tests/test_mosquitto.py +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/tests/test_mqttproto.py +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/tests/test_serf.py +0 -0
- {asyncactor-0.26.0 → asyncactor-0.26.2}/tox.ini +0 -0
|
@@ -714,7 +714,7 @@ class Actor(CtxObj):
|
|
|
714
714
|
"""
|
|
715
715
|
# For pos=0 this is a no-op and times out immediately
|
|
716
716
|
try:
|
|
717
|
-
|
|
717
|
+
with anyio.CancelScope() as xx:
|
|
718
718
|
if self._version_job is not None:
|
|
719
719
|
self._version_job.cancel()
|
|
720
720
|
self._version_job = xx
|
|
@@ -113,10 +113,10 @@ class SetupMessage(_NodeMessage):
|
|
|
113
113
|
|
|
114
114
|
def _verify(self):
|
|
115
115
|
"check parameters"
|
|
116
|
-
if self.cycle < 1:
|
|
117
|
-
raise ValueError("cycle must be >= 1")
|
|
118
|
-
if self.gap < 0.
|
|
119
|
-
raise ValueError("gap must be >= 0.
|
|
116
|
+
if self.cycle < .1:
|
|
117
|
+
raise ValueError("cycle must be >= .1")
|
|
118
|
+
if self.gap < 0.01:
|
|
119
|
+
raise ValueError("gap must be >= 0.01")
|
|
120
120
|
if self.cycle < self.gap * 3:
|
|
121
121
|
raise ValueError("cycle must be >= 3*gap")
|
|
122
122
|
|
|
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
|
|
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
|