mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-11-10 08:57:25 +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