Skip to content

Commit

Permalink
Add cached key for active_record payloads
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardoj committed May 27, 2024
1 parent fbff61d commit 8df63bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/influxdb/rails/middleware/sql_subscriber.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def tags
class_name: query.class_name,
name: query.name,
location: :raw,
cached: query&.cached == 'true',
}
end

Expand Down

0 comments on commit 8df63bf

Please sign in to comment.