ShardsDB
Constants
JOBS_CHANNEL = "jobs"
Constructors
new(connection : DB::Connection)
SourceClass methods
application_name
Sourceconnect
Sourcedatabase_url
Sourcedb
Sourcelisten_for_jobs
Sourcestatement_timeout
Sourcetransaction
SourceInstance methods
all_categories
Sourceconnection
Sourcecreate_owner(owner : Repo::Owner)
Sourcedelete_file(release_id, path)
Sourcefetch_file(release_id, path)
Sourcefind_canonical_ref?(shard_id)
Sourceget_shards
Sourcelast_activities
Sourcelast_catalog_import
Sourcelast_metrics_calc
Sourcelast_repo_sync
Sourcelog_activity(event : String, repo_id : Int64 | Nil = nil, shard_id : Int64 | Nil = nil, metadata = nil, exc = nil)
LOGGING
put_file(release_id, path, content)
Sourcerepo_sync_failed(repo)
Sourcerepos_pending_sync
Sourcesend_job_notification(message)
Sourcesql_array(array)
Source