Commits
Click on a commit to change the comparison rangeAdd memory safeguards to event persister service
This PR adds safeguards to prevent unbounded memory growth in the event
persister under failure conditions:
- Add bounded queue (default 50,000 max) with backpressure - new events
are dropped with a warning when queue is full
- Add retry limit (default 5) - events are dropped after consecutive
flush failures instead of infinite retry
- Add flush lock to prevent concurrent flushes from message handler and
periodic flush task
- Add queue capacity monitoring - logs warning at 80% capacity
New settings:
- `PREFECT_SERVER_SERVICES_EVENT_PERSISTER_QUEUE_MAX_SIZE`
- `PREFECT_SERVER_SERVICES_EVENT_PERSISTER_MAX_FLUSH_RETRIES`
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>17 hours ago
by desertaxle Add new event persister settings to SUPPORTED_SETTINGS
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>17 hours ago
by desertaxle Remove validation_alias from new settings and add AGENTS.md
- Remove unnecessary validation_alias from queue_max_size and
max_flush_retries (only needed for backward compatibility)
- Add src/prefect/settings/AGENTS.md documenting settings patterns
- Use settings object instead of legacy PREFECT_* constants in trim()
- Use logger format string instead of f-string
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>16 hours ago
by desertaxle