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

Redis storage update #145

Merged
merged 4 commits into from
Jun 28, 2019
Merged

Redis storage update #145

merged 4 commits into from
Jun 28, 2019

Conversation

gabbhack
Copy link
Contributor

@gabbhack gabbhack commented Jun 27, 2019

Description

  • Added ttl settings in RedisStorage2
  • Fixed update_bucket method in RedisStorage2
  • Updated docstrings

Fixes #139

Type of change

  • This change requires a documentation update
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  1. Copy files from gist
  2. Deploy it to heroku
  3. Profit

Test Configuration:

  • Heroku add-ons: Heroku redis
  • requirements: aioredis
  • Python version: 3.7.3

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Gabben added 4 commits June 27, 2019 19:34
Add "expire" argument to all set_ and update_ methods in RedisStorage2
Update docstrings
Copy link
Contributor Author

@gabbhack gabbhack left a comment

Choose a reason for hiding this comment

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

@JrooTJunior JrooTJunior merged commit 0c73223 into aiogram:dev-2.x Jun 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add "expire" argument to all set_* methods in storages
2 participants