v0.6.0 multi-user game support with longpoll, tests and doc updated

This commit is contained in:
2025-11-05 12:08:18 -05:00
parent a3f4db96fa
commit 52868af4ea
13 changed files with 708 additions and 120 deletions

View File

@ -158,6 +158,9 @@ See [test documentation](../test/README.md) for comprehensive test suites coveri
# Run test server with sample users
./test/test-db-server.sh
# Test real-time game updates via long-polling
./test/test-longpoll.sh
```
## Configuration
@ -170,6 +173,8 @@ See [test documentation](../test/README.md) for comprehensive test suites coveri
- Write queue: 1000 operations (internal/storage/storage.go)
- DB connections: 25 max, 5 idle (internal/storage/storage.go)
- JWT expiration: 7 days (internal/service/user.go)
- Long-poll timeout: 25 seconds (internal/service/waiter.go)
- Long-poll channel buffer: 1 (internal/service/waiter.go)
### Authentication Configuration
- Password minimum: 8 characters with letter and number
@ -234,4 +239,6 @@ See [test documentation](../test/README.md) for comprehensive test suites coveri
- No password recovery mechanism
- No email verification for registration
- Fixed worker pool size for engine calculations
- No real-time game updates (polling required)
- No real-time game updates (polling required)
- Long-polling limited to 25 seconds per request
- REST API only