Skip to content

Commit 6302817

Browse files
author
Matias Melograno
committed
updated documentation
1 parent 8780aa0 commit 6302817

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Detailed-README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ The following snippet shows you how to create a basic client using the default c
3333
```
3434

3535
## Logging
36-
Split SDK uses logging library.
36+
Split SDK uses logging module from Python.
3737

3838
### Logging sample
3939
```python
@@ -62,7 +62,9 @@ from splitio import get_factory
6262
from splitio.exceptions import TimeoutException
6363

6464
# redis-py options
65-
# The options below, will be loaded as: r = redis.StrictRedis(host='localhost', port=6379, db=0, prefix='')
65+
'''The options below, will be loaded as:
66+
r = redis.StrictRedis(host='localhost', port=6379, db=0, prefix='')
67+
'''
6668
config = {
6769
'redisDb' : 0,
6870
'redisHost' : 'localhost',
@@ -97,8 +99,8 @@ master = sentinel.master_for(redisMasterService)
9799
config = {
98100
'redisDb': 0,
99101
'redisPrefix': '',
100-
'redisSentinels': [('IP', 'PORT'), ('IP', 'PORT'), ('IP', 'PORT')],
101-
'redisMasterService': 'mymaster',
102+
'redisSentinels': [('IP', PORT), ('IP', PORT), ('IP', PORT)],
103+
'redisMasterService': 'SERVICE_MASTER_NAME',
102104
'redisSocketTimeout': 3
103105
}
104106

0 commit comments

Comments
 (0)