Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve wallet server address history cache and the rate of sent notifications #2972

Merged
merged 2 commits into from
Jun 5, 2020

Conversation

jackrobison
Copy link
Member

Minimizes but does not entirely solve #2945 as the cache is invalidated each block and the first slow request can back up further notifications during the same block.

@jackrobison jackrobison added area: hub type: bug Existing functionality is wrong or broken labels Jun 4, 2020
@jackrobison jackrobison requested a review from eukreign June 4, 2020 13:41
@lbry-bot lbry-bot assigned eukreign and jackrobison and unassigned jackrobison and eukreign Jun 4, 2020
@@ -206,7 +206,7 @@ def peer_address(self):
"""
return self._address

def peer_address_str(self):
def peer_address_str(self, for_log=True):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where is for_log used?

@eukreign eukreign merged commit 3b9ea2c into master Jun 5, 2020
@eukreign eukreign deleted the history-cache branch June 5, 2020 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: hub type: bug Existing functionality is wrong or broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants