ns::stats::SQLiteHistory method history disable (public)
<instance of ns::stats::SQLiteHistory> history disable
Stop future persistence callbacks without deleting stored history or stopping sampling. An outstanding write may finish. Return the resulting history status.
- Testcases:
- No testcase defined.
Source code: :locked { set config [nsv_get ns_stats history] if {$config ne ""} { if {[dict get $config enabled] && [dict get $config scheduler] ne ""} { ns_unschedule_proc [dict get $config scheduler] } dict set config enabled false dict set config scheduler {} nsv_set ns_stats history $config } } return [:history status]XQL Not present: Generic, PostgreSQL, Oracle
![[i]](/resources/acs-subsite/ZoomIn16.gif)