How long, in seconds, an Accessibility request waits for an application to
answer before giving up, or 0 for the macOS default (about 6 seconds). This affects
everything that uses Accessibility, e.g. hs.window, hs.application, hs.ax and
hs.windowfilter.
A shorter timeout keeps Hammerspoon 2 responsive when an application is hung or slow,
but a request to a busy application may then fail when it would have succeeded.
Code that asks many applications for things at once, such as hs.window.allWindows() and
hs.windowfilter, always waits at most 0.25 seconds, so one hung application can't stall
it. A shorter timeout set here applies to it too.
This goes back to 0 when your config is reloaded, so set it in your config.
How long, in seconds, an Accessibility request waits for an application to answer before giving up, or 0 for the macOS default (about 6 seconds). This affects everything that uses Accessibility, e.g.
hs.window,hs.application,hs.axandhs.windowfilter.A shorter timeout keeps Hammerspoon 2 responsive when an application is hung or slow, but a request to a busy application may then fail when it would have succeeded.
Code that asks many applications for things at once, such as
hs.window.allWindows()andhs.windowfilter, always waits at most 0.25 seconds, so one hung application can't stall it. A shorter timeout set here applies to it too.This goes back to 0 when your config is reloaded, so set it in your config.