Justin Israel

Results 224 comments of Justin Israel

It turns out that the example [demos/userns-block-fd.py](https://github.com/containers/bubblewrap/blob/main/demos/userns-block-fd.py) got me where I needed, since it provides the hooks into running `newuidmap` and `newgidmap`

I tried increasing the QueueLength to a ridiculously high number like 100k, and the issue does seem to stop. So my guess is that it IS just too many messages...

When you get back into this project again, can you take a look at my work on connection.go? https://github.com/justinfx/go-socket.io/commit/16ef3a41f492f615125c954e3ddfbf7f7a8c1450#connection.go It seems to work, in that its not backing up the...

Nevermind on the broken pipe issue. It was something with the Client struct and me sending messages as strings. It was getting an "invalid argument" somehow during the Encode of...

I have submitted a pull request that addresses this, along with some other features.

Here is a stress test client I threw together: https://gist.github.com/1174699 Its hard-coded to send 10k message per client, but the rest of the options are exposed as arguments. I was...

Is this still the way the API works? I have a similar situation, where I am iterating on a cursor and conditionally deleting items. Do we need to account for...

What is the official status of the thread safety? When I looked at the connection code of the Http class it doesn't seem to do any locking around the private...

It would also be less racey in the first place if that code followed the "Easier to Ask Forgiveness than Permission" pattern and did ``` try: conn = self.connections[conn_key] except...

The get(None) approach is a fine alternative and is better than what currently could crash in a race condition on a KeyError. As for the try-except, even if it feels...