feat: implement Socket.IO server with queue management and update environment variables

This commit is contained in:
2025-09-19 18:58:22 +02:00
parent 741afb6e81
commit cb326f7190
5 changed files with 265 additions and 89 deletions

View File

@@ -1,3 +1,7 @@
# Socket server
SOCKET_PORT=4000
NEXT_PUBLIC_SOCKET_PORT=4000
# Queue settings
QUEUE_THRESHOLD=100
CONCURRENT_ACTIVE=50
@@ -10,4 +14,4 @@ JWT_SECRET=your_jwt_secret_here
MYSQL_HOST=localhost
MYSQL_USER=root
MYSQL_PASSWORD=yourpassword
MYSQL_DATABASE=queue_demo
MYSQL_DATABASE=queue_demo