Upgrade deps

This commit is contained in:
lash 2022-05-04 18:22:29 +00:00
parent 3e05717395
commit 5459d4c3f8
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
6 changed files with 15 additions and 7 deletions

View File

@ -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 - 0.2.2
* Fix missing symbol crashes related to race conditions * Fix missing symbol crashes related to race conditions
- 0.2.1 - 0.2.1

View File

@ -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)) 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 return None
except FileNotFoundError as e: 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() store_lock.again()
continue continue
except StateLockedKey as e: 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() store_lock.again()
continue continue

View File

@ -54,7 +54,7 @@ class StateFilter(SyncFilter):
logg.debug('skipping not local transaction {}'.format(tx.hash)) logg.debug('skipping not local transaction {}'.format(tx.hash))
return False return False
except BackendError as e: 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 queue_adapter = None
store_lock.again() store_lock.again()
continue continue

View File

@ -5,7 +5,7 @@ import time
from .error import BackendError from .error import BackendError
BASE_DELAY = 0.01 BASE_DELAY = 0.01
BASE_DELAY_LIMIT = 3.0 BASE_DELAY_LIMIT = 10.0
class StoreLock: class StoreLock:

View File

@ -1,5 +1,5 @@
chainlib~=0.1.1 chainlib~=0.1.2
chainqueue~=0.1.10 chainqueue~=0.1.11
chainsyncer~=0.4.3 chainsyncer~=0.4.3
confini~=0.6.0 confini~=0.6.0
funga~=0.5.2 funga~=0.5.2

View File

@ -1,6 +1,6 @@
[metadata] [metadata]
name = chaind name = chaind
version = 0.2.4 version = 0.2.7
description = Base package for chain queue service description = Base package for chain queue service
author = Louis Holbrook author = Louis Holbrook
author_email = dev@holbrook.no author_email = dev@holbrook.no