mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-01 16:19:37 +01:00
9 lines
137 B
Go
9 lines
137 B
Go
package job
|
|
|
|
var jobQueue = make(chan int64)
|
|
|
|
// Schedule put a job id into job queue.
|
|
func Schedule(jobID int64) {
|
|
jobQueue <- jobID
|
|
}
|