commit 5459d4c3f8e17fb941a1e6e4a0a61444312d9b9a
parent 3e057173956011d883b19bda16de7992e68a062f
Author: lash <dev@holbrook.no>
Date: Wed, 4 May 2022 18:22:29 +0000
Upgrade deps
Diffstat:
6 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/CHANGELOG b/CHANGELOG
@@ -1,3 +1,11 @@
+- 0.2.7
+ * Upgrade chainlib
+- 0.2.6
+ * Deps upgrade
+- 0.2.5
+ * Deps upgrade
+- 0.2.4
+ * Allow omission of state store sync in queue store backend
- 0.2.2
* Fix missing symbol crashes related to race conditions
- 0.2.1
diff --git a/chaind/adapters/fs.py b/chaind/adapters/fs.py
@@ -51,11 +51,11 @@ class ChaindFsAdapter(ChaindAdapter):
logg.error('I am just a simple syncer and do not know how to handle the state which the tx {} is in: {}'.format(tx_hash, e))
return None
except FileNotFoundError as e:
- logg.debug('queuestore get {} failed, possible race condition (will try again): {}'.format(tx_hash, e))
+ logg.debug('queuestore get (file missing) {} failed, possible race condition (will try again): {}'.format(tx_hash, e))
store_lock.again()
continue
except StateLockedKey as e:
- logg.debug('queuestore get {} failed, possible race condition (will try again): {}'.format(tx_hash, e))
+ logg.debug('queuestore get (statelock) {} failed, possible race condition (will try again): {}'.format(tx_hash, e))
store_lock.again()
continue
diff --git a/chaind/filter.py b/chaind/filter.py
@@ -54,7 +54,7 @@ class StateFilter(SyncFilter):
logg.debug('skipping not local transaction {}'.format(tx.hash))
return False
except BackendError as e:
- logg.error('adapter instantiation failed: {}, one more try'.format(e))
+ logg.error('adapter get failed: {}, one more try'.format(e))
queue_adapter = None
store_lock.again()
continue
diff --git a/chaind/lock.py b/chaind/lock.py
@@ -5,7 +5,7 @@ import time
from .error import BackendError
BASE_DELAY = 0.01
-BASE_DELAY_LIMIT = 3.0
+BASE_DELAY_LIMIT = 10.0
class StoreLock:
diff --git a/requirements.txt b/requirements.txt
@@ -1,5 +1,5 @@
-chainlib~=0.1.1
-chainqueue~=0.1.10
+chainlib~=0.1.2
+chainqueue~=0.1.11
chainsyncer~=0.4.3
confini~=0.6.0
funga~=0.5.2
diff --git a/setup.cfg b/setup.cfg
@@ -1,6 +1,6 @@
[metadata]
name = chaind
-version = 0.2.4
+version = 0.2.7
description = Base package for chain queue service
author = Louis Holbrook
author_email = dev@holbrook.no