1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activestorage/lib
Jean Boussier bd19d1baf1 Optimize AS::LogSubscriber
The various LogSubscriber subclasses tend to subscribe to events
but then end up doing nothing if the log level is high enough.

But even if we end up not logging, we have to go through the
entire notification path, record timing etc.

By allowing subscribers to dynamically bail out early, we can
save a lot of work if all subscribers are silenced.
2022-08-12 09:58:17 +02:00
..
active_storage Optimize AS::LogSubscriber 2022-08-12 09:58:17 +02:00
tasks Invoke namespaced task when necessary 2021-05-26 13:44:42 +01:00
active_storage.rb Make sure allowed image processing arguments are correctly loaded 2022-03-11 17:45:39 +00:00