Artur Mullakhmetov
Artur Mullakhmetov
@mkeeler could you please review my attempt? #7198
Code works fine on ~30 another servers. I can't say what's the different between them, each serviced by client. ``` >>> import redis >>> import cProfile >>> r = redis.Redis(socket_connect_timeout=5)...
``` >>> import redis >>> r = redis.Redis(socket_connect_timeout=5) >>> r.set('foo', 'bar') # executed in 5 seconds True ``` Sorry, I mean that in the last sentence.
I got some details: ``` >>>socket.getaddrinfo('localhost', 6379) [(10, 1, 6, '', ('::1', 6379, 0, 0)), (10, 2, 17, '', ('::1', 6379, 0, 0)), (10, 3, 0, '', ('::1', 6379, 0,...
But `sock = socket.socket(10, 2, 17); sock.connect('localhost', 6379)` connected successfully. First argument 10 means IPV6 connection, isn't it?
On production environment IPv6 is 10, I'm sure. ``` socket.AF_INET6 10 socket.AF_INET 2 socket.SOCK_STREAM 1 socket.SOCK_DGRAM 2 socket.IPPROTO_TCP 6 socket.IPPROTO_UDP 17 ``` So redis don't accept ipv6/stream/tcp connections, but ipv6/datagram/udp...
Well, my problem is out of topic, so it can be closed I guess. Thank you for your help.
@akosourov are you working on this in any way? I am quite interested and want to solve it
Current resize implementation uses `draw.BiLinear` interpolation. I've compare it with `draw.CatmullRom` (described as slow but high quality) and `Lanczos3` ([wiki](https://en.wikipedia.org/wiki/Lanczos_resampling)). ## Quality comparison ### Text image |source|image/draw : BiLinear|image/draw :...
I can't get any more decent scaling result even in Photoshop. I tried to crop source image to `1120x1120` and resize it to `140x140` (to prevent round off dimensions, which...