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>
13 lines
334 B
YAML
13 lines
334 B
YAML
services:
|
|
derp:
|
|
build:
|
|
context: .
|
|
dockerfile: Containerfile
|
|
container_name: derp
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./config/derp.toml:/app/config/derp.toml:ro,Z
|
|
- ./plugins:/app/plugins:ro,Z
|
|
- ./profile:/app/profile:Z
|
|
command: ["--verbose", "--cprofile", "/app/profile/derp.prof"]
|