Activity
class Activity
Activity utilities
Constants
PUSH_REPEAT_SECONDS |
|
PURGE_REPEAT_SECONDS |
|
Methods
static
pushCaliperEvents($seconds = 3, $max = 100, $debug = false)
Send the backlog of caliper events, but don't overrun
static
purgeCaliperEvents()
Periodic cleanup of broken Caliper events
static
sendCaliperEvent($delete = true)
No description
Details
at line 21
static
pushCaliperEvents($seconds = 3, $max = 100, $debug = false)
Send the backlog of caliper events, but don't overrun
at line 83
static
purgeCaliperEvents()
Periodic cleanup of broken Caliper events
This is needed when an lti_key has Caliper turned on for a while and then later turns it off - the non-pushed events are stranded since they no longer have a good caliper_url / caliper_key. So once in a great while, we clean these up.