Sean Bleier
Sean Bleier
Sorry I'm not very responsive. I have 5 month old twins, so my open source work has suffered a bit as you can imagine. I'll try and fix this in...
What version are you using? Would it be possible to throw that call in a celery task or spin off another thread?
At version 1.8.1, the library is using `scan_iter` to find all the keys that match the pattern. That's the preferred method to find keys matching a pattern. The only other...
You'll want the second argument to be a callable, e.g. `get_or_set('tweets', lambda: 'x', timeout=300)`
Apologies on the terribly late response. I have twin toddlers and my free time has been limited the last few years.
It should probably be possible, I will certainly investigate when I get a chance.
@devdlabs I was waiting for redis-py to have a ready implementation. It looks like maybe it has one now, so there is no roadblock at the moment. However, I just...
@dzen – Sorry, I been super busy and haven't cut the release yet. I'll try to get to it tonight.
I think I have a workaround by simply subclassing `unicode` and attaching an attribute that we can use to store the versioned key.
Are you saying that if the version of Django is less that 1.6, then using cache.set('key', value, None) does not work?