github::ActivityMonitor method check_rate_limit (protected)
<instance of github::ActivityMonitor> check_rate_limit
Defined in packages/xowiki/tcl/github-activity-monitor-procs.tcl
- Testcases:
- No testcase defined.
Source code: set until [:get_state github_not_before 0] if {[string is wideinteger -strict $until] && $until > [clock seconds]} { set when [clock format $until -gmt 1 -format {%Y-%m-%d %H:%M:%S UTC}] return -code error -errorcode {GITHUB RATE_LIMIT} "GitHub requests paused until $when" }XQL Not present: Generic, PostgreSQL, Oracle
![[i]](/resources/acs-subsite/ZoomIn16.gif)