struct Service::SyncRepos
- Service::SyncRepos
- Struct
- Value
- Object
Overview
This service synchronizes the information about a repository in the database.
Defined in:
service/sync_repos.crConstant Summary
-
Log =
Shardbox::Log.for("service.sync_repos")
Constructors
- .new(db : ShardsDB, older_than : Time, ratio : Float32)
- .new(db, age : Time::Span = 24.hours, ratio : Number = 0.1)
Instance Method Summary
- #perform
- #sync_all_pending_repos(limit : Int32 | Nil = nil)
- #sync_repo(repo_ref)
- #sync_repos
- #update_shard_dependencies