feat: concurrent command dispatch and profiling test client
Replace sequential await in command/event dispatch with asyncio.create_task() so slow commands (whois, httpcheck, tlscheck) no longer block the read loop. Add _spawn() for task lifecycle tracking. Enable cProfile in docker-compose for profiling. Add scripts/test_client.py for end-to-end plugin testing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -8,4 +8,5 @@ services:
|
||||
volumes:
|
||||
- ./config/derp.toml:/app/config/derp.toml:ro,Z
|
||||
- ./plugins:/app/plugins:ro,Z
|
||||
command: ["--verbose"]
|
||||
- ./profile:/app/profile:Z
|
||||
command: ["--verbose", "--cprofile", "/app/profile/derp.prof"]
|
||||
|
||||
Reference in New Issue
Block a user