Skip to content
This repository has been archived by the owner on Mar 28, 2019. It is now read-only.

Refactor Redis client instantiation (fixes #567) #568

Merged
merged 1 commit into from
Nov 12, 2015

Conversation

leplatrem
Copy link
Contributor

@tarekziade r?

@leplatrem leplatrem changed the title Refactor Redis client instantiation Refactor Redis client instantiation (fixes #567) Nov 10, 2015
@leplatrem leplatrem force-pushed the refactor-redis-client-instantiation branch 2 times, most recently from f3ec3c5 to ca53bcf Compare November 10, 2015 11:43

@property
def settings(self):
return self._client.connection_pool.connection_kwargs
Copy link
Contributor

Choose a reason for hiding this comment

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

let's return a copy with a dict() wrapping, so people can't change the settings

@leplatrem leplatrem force-pushed the refactor-redis-client-instantiation branch 3 times, most recently from 06e5662 to 70fe1d5 Compare November 11, 2015 11:42
@tarekziade
Copy link
Contributor

r+

@leplatrem leplatrem force-pushed the refactor-redis-client-instantiation branch from 70fe1d5 to 5581e0b Compare November 12, 2015 11:01
leplatrem added a commit that referenced this pull request Nov 12, 2015
…nstantiation

Refactor Redis client instantiation (fixes #567)
@leplatrem leplatrem merged commit 71c1dac into master Nov 12, 2015
@leplatrem leplatrem deleted the refactor-redis-client-instantiation branch November 12, 2015 11:14
glasserc added a commit that referenced this pull request May 20, 2016
Make this a separate link. If Kinto ever gets a real homepage, we can
link the word ``Kinto`` to that.

This commit, and the previous one, fixes #568.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a settings property on backends
2 participants