af48c6522b6a1c38feab01ca006f56b94d238445
The diff modifies two lines in `src/snek/service/chat.py` within the `ChatService` class. The first change removes the `await` keyword from the notification channel message creation, wrapping it instead with `async self.app.create_task()`. The second change removes the outer `await self.app.create_task()` wrapper from the socket broadcast call, making it a direct synchronous call. These adjustments alter the concurrency model for both notification delivery and socket broadcasting operations.
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
51.8%
HTML
28%
JavaScript
15.5%
CSS
4.6%