struct

Service::SyncRepos

Inherits Struct < Value < Object

This service synchronizes the information about a repository in the database.

Constants

Log = Shardbox::Log.for("service.sync_repos")

Constructors

new(db : ShardsDB, older_than : Time, ratio : Float32)
Source
new(db, age : Time::Span = 24.hours, ratio : Number = 0.1)
Source

Instance methods

perform
Source
sync_all_pending_repos(limit : Int32 | Nil = nil)
Source
sync_repo(repo_ref)
Source
sync_repos
Source
update_shard_dependencies
Source