03bfa8a18e40438dbc6fb4dad1c50ea02ef67cad
The fix ensures that when `connect()` is called on an already connected socket, the promise resolves immediately with the socket instance rather than being deferred. Previously, the code only resolved immediately when not connecting, leaving connected sockets waiting indefinitely. The new logic checks `isConnected` first, then falls through to `isConnecting` before adding to the promise queue.
Snek
Slack like chat application with focus on performance
This is a slack like chat application with focus on performance. Other slack-like applications became too heavy. My RocketChat just had an 'frontend' crash. Just an error from the system itself like it's the most normal thing in the world.
Running
At this point, there's nothing officially running but what you can do:
- Install the project:
make install - Run part of the project:
./venv/bin/python -m snek.app - Run other part of the project:
./venv/bin/python -m snek.models
Languages
Python
60.6%
HTML
19%
JavaScript
17.1%
CSS
3.2%