summaryrefslogtreecommitdiff
path: root/redis/connection.py
diff options
context:
space:
mode:
Diffstat (limited to 'redis/connection.py')
-rwxr-xr-xredis/connection.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/redis/connection.py b/redis/connection.py
index c2fb84f..c99c550 100755
--- a/redis/connection.py
+++ b/redis/connection.py
@@ -71,6 +71,9 @@ if HIREDIS_AVAILABLE:
# only use byte buffer if hiredis supports it
if not HIREDIS_SUPPORTS_BYTE_BUFFER:
HIREDIS_USE_BYTE_BUFFER = False
+else:
+ msg = "redis-py works best with hiredis. Please consider installing"
+ warnings.warn(msg)
SYM_STAR = b'*'
SYM_DOLLAR = b'$'