Skip to content

Optimize error logging with batching and deferred database writes#9289

Open
live627 wants to merge 1 commit into
SimpleMachines:release-3.0from
live627:optimize-error-logging
Open

Optimize error logging with batching and deferred database writes#9289
live627 wants to merge 1 commit into
SimpleMachines:release-3.0from
live627:optimize-error-logging

Conversation

@live627

@live627 live627 commented Jul 12, 2026

Copy link
Copy Markdown
Contributor
  • Batch errors in memory instead of synchronous DB insert per error
  • Flush batch when threshold reached (10 errors) or at script shutdown
  • Uses register_shutdown_function to ensure batch is flushed at script end

- Batch errors in memory instead of synchronous DB insert per error
- Flush batch when threshold reached (10 errors) or at script shutdown
- Uses register_shutdown_function to ensure batch is flushed at script end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant