mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-26 13:29:05 +01:00
Refactor
This commit is contained in:
parent
81fe492655
commit
0005469101
@ -30,13 +30,11 @@ var (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type JobRepository struct {
|
type JobRepository struct {
|
||||||
DB *sqlx.DB
|
DB *sqlx.DB
|
||||||
driver string
|
stmtCache *sq.StmtCache
|
||||||
|
cache *lrucache.Cache
|
||||||
stmtCache *sq.StmtCache
|
|
||||||
cache *lrucache.Cache
|
|
||||||
|
|
||||||
archiveChannel chan *schema.Job
|
archiveChannel chan *schema.Job
|
||||||
|
driver string
|
||||||
archivePending sync.WaitGroup
|
archivePending sync.WaitGroup
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user