diff options
Diffstat (limited to 'redis/connection.py')
-rwxr-xr-x | redis/connection.py | 3 |
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'$' |