method
service_upload
v8.1.1 -
Show latest stable
- Class:
ActiveStorage::StructuredEventSubscriber
service_upload(event)public
No documentation available.
# File activestorage/lib/active_storage/structured_event_subscriber.rb, line 7
def service_upload(event)
emit_event("active_storage.service_upload",
key: event.payload[:key],
checksum: event.payload[:checksum],
duration_ms: event.duration.round(2),
)
end