You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I load my server with ~100 req/sec I see wrong callbacks called in 'self._request_queue.popleft().callback(reply)'. It's a multithreading script. I've spent one week trying to fix it with no success. Any suggestions?
Update:
Ooops, win32com threads was not working as I expected, sorry for wrong issue.
The text was updated successfully, but these errors were encountered:
Twisted doesn't usually play well with threads (it's designed to be used in single threaded scenarios).
As a general hint, make sure you use reactor.callFromThread when making twisted calls from other threads. Of course, without seeing any example code, I don't really know what your problem is.
When I load my server with ~100 req/sec I see wrong callbacks called in 'self._request_queue.popleft().callback(reply)'. It's a multithreading script. I've spent one week trying to fix it with no success. Any suggestions?
Update:
Ooops, win32com threads was not working as I expected, sorry for wrong issue.
The text was updated successfully, but these errors were encountered: