From 5459d4c3f8e17fb941a1e6e4a0a61444312d9b9a Mon Sep 17 00:00:00 2001 From: lash Date: Wed, 4 May 2022 18:22:29 +0000 Subject: [PATCH] Upgrade deps --- CHANGELOG | 8 ++++++++ chaind/adapters/fs.py | 4 ++-- chaind/filter.py | 2 +- chaind/lock.py | 2 +- requirements.txt | 4 ++-- setup.cfg | 2 +- 6 files changed, 15 insertions(+), 7 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index a51125d..e1fdfe5 100644 --- 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 index 70896f0..9e32cac 100644 --- 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 index f2d0d9c..ff4bed0 100644 --- 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 index 008004f..28ce73e 100644 --- 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 index a974825..f7f72dd 100644 --- 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 index 3be07f1..a691c9c 100644 --- 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