How can I prevent Emacs from auto-reverting only when the file size is over 10 GB? I know that there's the large-file-warning-threshold option but it doesn't work for auto-reverting.
I'm dealing with a file that I frequently overwrite programmatically. It's a small file most of the time, but it sometimes becomes unexpectedly large so I'd like to prevent Emacs from freezing when I leave that file open.