Jason Horman
Jason Horman
My use was I was trying to serialize an arbitrary JSONField out, and it failed. I could have dicts of lists of lists of dicts, etc.
Here is an updated version of the worker above (written against rq==0.4.6) ``` python from __future__ import absolute_import import signal import gevent import gevent.pool from rq import Worker from rq.timeouts...
`httpretty.register_uri` does take a `priority` parameter which allows some control over match order, I think.
I also think `ThreadLocalScope` could use a clear/reset method, since if you are using thread pooling, you could leak scopes unless they get cleared.
I would think that ```python injector.binder.bind(TEST_KEY, 'test', threadlocal) ``` Would behave a lot like just setting a thread local variable. ``` tl_local = threading.local() # thread1 tl_local.x = 'y' #...
My issue was 100's of megabytes of stored keys for lat/lon. I ended up with the following, to avoid the storage. ``` python p = redis.pipeline(False) all_city_ids = set() union_keys...
I think there is also then an issue with _extractLocation. Line 173 prepends "/", which is wrong if the baseURI has a "/" on the end.
This would be awesome. Sometimes you have tasks of variable lengths and so it is hard to decide on a visibility timeout. If tasks could dynamically extend would solve a...
I opened a PR. The tests don't seem to run for me locally, and I didn't add more since I wanted to also make sure we agreed on this direction.
1. We can make the failure visibility timeout configurable. The problem I am trying to solve for is that my queues are configured for a 10 minute default timeout, which...