nsmcp::UnifiedAccessAnalytics method retentionTick (public)

 <instance of nsmcp::UnifiedAccessAnalytics[i]> retentionTick

Defined in /usr/local/ns/tcl/nsmcp/log-traffic-unified.tcl

A single threaded one-shot chain avoids phase-locking a periodic maintenance timer to the ingestion timer. Busy work retries later.

Testcases:
No testcase defined.
Source code:
set delay ${:retentionInterval}
try {
    set result [:retain]
    if {[dict exists $result busy]} {set delay 1}
    return $result
} finally {catch {ns_schedule_proc -once -thread $delay [self] retentionTick}}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: