Major changes: - Add internal/logging package with field constants, context propagation, sensitive data auto-redaction, and per-component log levels - Add worker timeout constants (TimeoutQuickOp, TimeoutHealthCheck, etc.) - Extend SDLC with callback handlers, generate endpoints, and executor - Add new cookbook trees for aeries and slackpath progression - Add skeleton templates for queue, realtime, and microservices - Add worker component template with async job processing - Refactor services and handlers to use new logging infrastructure - Split component.go into component_infra.go and component_listing.go Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
24 lines
475 B
Cheetah
24 lines
475 B
Cheetah
# {{COMPONENT_NAME}} Worker Configuration
|
|
|
|
# App
|
|
APP_NAME={{COMPONENT_NAME}}
|
|
APP_ENVIRONMENT=development
|
|
APP_DEBUG=true
|
|
|
|
# Logging
|
|
LOG_LEVEL=debug
|
|
LOG_FORMAT=text
|
|
|
|
# Database (required for job queue)
|
|
DATABASE_URL=postgres://dev:dev@localhost:5432/{{PROJECT_NAME}}?sslmode=disable
|
|
|
|
# Worker
|
|
WORKER_POLL_INTERVAL=10s
|
|
WORKER_BATCH_SIZE=10
|
|
WORKER_MAX_RETRIES=3
|
|
WORKER_STALE_JOB_TIMEOUT=5m
|
|
WORKER_JOB_TIMEOUT=5m
|
|
|
|
# Redis (optional, for cache)
|
|
# REDIS_URL=redis://localhost:6379/0
|