Determine the right file size limit for highlighting files
Now that filesize limits are documented, configurable, and monitorable after the following MRs:
The next step would be to see if the 512kb (down from 1MB since his posting) makes sense.
The following two feature flags are available to start tracking those:
-
track_highlight_timeouts
can incrementhighlight_timeout
with either "background" or "foreground" as a source (depending on if it was called from Sidekiq)
track_file_size_over_highlight_limit
- increments over_highlight_size_limit