github::ActivityMonitor method backfill_repo_history (public)
<instance of github::ActivityMonitor> backfill_repo_history args \ [ args... ]
Defined in packages/xowiki/tcl/github-activity-monitor-procs.tcl
- Parameters:
- args (required)
- Testcases:
- No testcase defined.
Source code: ::xo::dc transaction { set locked [::xo::dc get_value github_backfill_lock { select case when pg_try_advisory_xact_lock(714230, 1) then 1 else 0 end }] if {!$locked} { error "GitHub activity writer already running; retry later" } # Catch inside the transaction so a cooldown learned from an # HTTP failure commits even when this explicit call fails. set code [catch { :check_rate_limit :backfill_locked {*}$args } result options] } if {$code} {return -options $options $result} return $resultXQL Not present: Generic, PostgreSQL, Oracle
![[i]](/resources/acs-subsite/ZoomIn16.gif)