Skip to content

Conversation

@David-5-1
Copy link

We had a crash when trying to access Hosts page on Patchman 4 installed with MySQL as MySQL was trying to write more than 10 GB of temporary tables to disk, filling up /tmp and resulting in query crash because of the lack of free space.

This patch is a courtesy of ChatGPT (with minor edits) but seems correct even from the results I get when running it on out Patchman instance. And performance seems decent (< 2 seconds load page with 1000+ hosts).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant