{"action":"created","issue":{"url":"https://api.github.com/repos/niwinz/django-redis/issues/157","labels_url":"https://api.github.com/repos/niwinz/django-redis/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/niwinz/django-redis/issues/157/comments","events_url":"https://api.github.com/repos/niwinz/django-redis/issues/157/events","html_url":"https://github.com/niwinz/django-redis/issues/157","id":99596780,"number":157,"title":"wrong number of arguments for 'set' command","user":{"login":"thewayiam","id":4479861,"avatar_url":"https://avatars.githubusercontent.com/u/4479861?v=3","gravatar_id":"","url":"https://api.github.com/users/thewayiam","html_url":"https://github.com/thewayiam","followers_url":"https://api.github.com/users/thewayiam/followers","following_url":"https://api.github.com/users/thewayiam/following{/other_user}","gists_url":"https://api.github.com/users/thewayiam/gists{/gist_id}","starred_url":"https://api.github.com/users/thewayiam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thewayiam/subscriptions","organizations_url":"https://api.github.com/users/thewayiam/orgs","repos_url":"https://api.github.com/users/thewayiam/repos","events_url":"https://api.github.com/users/thewayiam/events{/privacy}","received_events_url":"https://api.github.com/users/thewayiam/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-07T07:38:28Z","updated_at":"2015-09-03T08:31:13Z","closed_at":"2015-09-02T15:27:30Z","body":"Can't set timeout in cache.set while timeout!=None or timeout!=0\r\n\r\n```\r\nwrong number of arguments for 'set' command\r\nRequest Method:\tPOST\r\nDjango Version:\t1.8.3\r\nException Type:\tResponseError\r\nException Value:\t\r\nwrong number of arguments for 'set' command\r\nException Location:\t/usr/local/lib/python2.7/dist-packages/redis/connection.py in read_response, line 574\r\nPython Version:\t2.7.3\r\n\r\n=====================\r\nTraceback\r\n\r\n                cache.set('foo', 'test', timeout=1) ...\r\n/usr/local/lib/python2.7/dist-packages/django_redis/cache.py in _decorator\r\n                        return method(self, *args, **kwargs) ...\r\n/usr/local/lib/python2.7/dist-packages/django_redis/cache.py in set\r\n                    return self.client.set(*args, **kwargs) ...\r\n/usr/local/lib/python2.7/dist-packages/django_redis/client/default.py in set\r\n                        return client.set(nkey, nvalue, nx=nx, ex=timeout, xx=xx) ...\r\n/usr/local/lib/python2.7/dist-packages/redis/client.py in set\r\n                    return self.execute_command('SET', *pieces) ...\r\n/usr/local/lib/python2.7/dist-packages/redis/client.py in execute_command\r\n                        return self.parse_response(connection, command_name, **options) ...\r\n/usr/local/lib/python2.7/dist-packages/redis/client.py in parse_response\r\n                    response = connection.read_response() ...\r\n/usr/local/lib/python2.7/dist-packages/redis/connection.py in read_response\r\n                        raise response ...\r\n```"},"comment":{"url":"https://api.github.com/repos/niwinz/django-redis/issues/comments/137378213","html_url":"https://github.com/niwinz/django-redis/issues/157#issuecomment-137378213","issue_url":"https://api.github.com/repos/niwinz/django-redis/issues/157","id":137378213,"user":{"login":"mrben","id":132201,"avatar_url":"https://avatars.githubusercontent.com/u/132201?v=3","gravatar_id":"","url":"https://api.github.com/users/mrben","html_url":"https://github.com/mrben","followers_url":"https://api.github.com/users/mrben/followers","following_url":"https://api.github.com/users/mrben/following{/other_user}","gists_url":"https://api.github.com/users/mrben/gists{/gist_id}","starred_url":"https://api.github.com/users/mrben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrben/subscriptions","organizations_url":"https://api.github.com/users/mrben/orgs","repos_url":"https://api.github.com/users/mrben/repos","events_url":"https://api.github.com/users/mrben/events{/privacy}","received_events_url":"https://api.github.com/users/mrben/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T08:31:13Z","updated_at":"2015-09-03T08:31:13Z","body":"Downgrading redis to 2.8.17 from 3.0.3 \"fixed\" this for me, could be related.\r\n\r\nI'm happy to put some work into helping reproduce this if it would be helpful?"}}