| CACHE_KEY_COLUMNS |
= |
[:key, :hit, :options, :type] |
|
these are the specific keys in the cache payload that we display in the
panel view
|
| CACHE_BLOCK |
= |
Proc.new {|*args| name, start, ending, transaction_id, payload = args |
|
define this here so we can pass it in to all of our cache subscribe calls
|
| SQL_EVENT_NAME |
= |
"sql.active_record" |
|
HACK: we hardcode the event name to ‘sql.active_record’ so that
the ui will display sequel events without modification. otherwise the ui
would need to be modified to support a sequel tab (or to change the display
name on the active_record tab when necessary - which maybe makes more
sense?)
|
| SQL_BLOCK |
= |
Proc.new {|*args| name, start, ending, transaction_id, payload = args |