Re: How to fix deadlocks with tests?

2023-10-27 Thread Chetan Ganji
Hey, This problem seems to be unique. There might not be a standard solution. https://github.com/jazzband/django-silk You can replicate the prod environment to local and profile it using django silk. If you can somehow manage to reproduce the bug and find the timestamp when it happened; you can f

How to fix deadlocks with tests?

2023-10-27 Thread Joshua Gardner
I'm experiencing deadlocks in my production application occasionally. I'm using MySQL. Some of these deadlocks are due to insufficient indexing, and I'd like to fix this with some test-driven development. How can I write tests that exercise the application concurrently, and could be used to replic

Pip proxy no proxy

2023-10-27 Thread sebasti...@gmail.com
Hello Guys, i have no proxy in my network. Suddenly when i use pip install then i get: pip3 install django WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed