From f7e22fcfd841aa4ca909fd71502083fa517288df Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 6 Feb 2026 17:19:47 +0100 Subject: [PATCH] Fix IO pressure on some machines with Ghostty --- migrations/1770393078.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 migrations/1770393078.sh diff --git a/migrations/1770393078.sh b/migrations/1770393078.sh new file mode 100644 index 00000000..79238051 --- /dev/null +++ b/migrations/1770393078.sh @@ -0,0 +1,7 @@ +echo "Add async-backend = epoll to ghostty config to fix high IO pressure" + +if [[ -f ~/.config/ghostty/config ]] && ! grep -q "^async-backend" ~/.config/ghostty/config; then + echo "" >> ~/.config/ghostty/config + echo "# Fix general slowness on hyprland (https://github.com/ghostty-org/ghostty/discussions/3224)" >> ~/.config/ghostty/config + echo "async-backend = epoll" >> ~/.config/ghostty/config +fi