Skip to content

Conversation

@telac
Copy link

@telac telac commented Jul 23, 2019

This commit adds unix socket option for redis session store. Using the option requires that both redis_host and redis_port should be None. If no unix socket is supplied, the behavior doesn't change at all. This commit can be applies to both branches 11.0 and 12.0 as is.

This is one possible solution to issue #56

This commit adds unix socket option for redis session store. Using the option requires that both redis_host and redis_port should be None. If no unix socket is supplied, the behavior doesn't change at all. This commit can be applies to both branches 11.0 and 12.0 as is.
@telac
Copy link
Author

telac commented Jul 23, 2019

Closing the PR for now. This commit is missing a check that the port value is not None before trying to convert port value to integer.

@telac telac closed this Jul 23, 2019
@telac telac reopened this Jul 23, 2019
@telac
Copy link
Author

telac commented Jul 23, 2019

The temporary fix works for our testing environment, you'll probably want to come up with something more sophisticated though.

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.

1 participant