removed commented code
This commit is contained in:
parent
8ec8d32a5b
commit
402b269bf4
@ -55,13 +55,6 @@ func Compile(cfg *CompileConfig, ch chan<- *CompileReport, wg *sync.WaitGroup) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Compress(filePath, start, cfg, ch, wg)
|
Compress(filePath, start, cfg, ch, wg)
|
||||||
|
|
||||||
// uncomment for independent compile and compress tasks
|
|
||||||
// (slightly slower in tests, most likely because of more context switches)
|
|
||||||
/*
|
|
||||||
ch <- &CompileReport{Config: cfg, State: StateWaiting}
|
|
||||||
go Runner.Run(func() { Compress(filePath, cfg, ch, wg) })
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func Compress(filePath string, start time.Time, cfg *CompileConfig, ch chan<- *CompileReport, wg *sync.WaitGroup) {
|
func Compress(filePath string, start time.Time, cfg *CompileConfig, ch chan<- *CompileReport, wg *sync.WaitGroup) {
|
||||||
|
Loading…
Reference in New Issue
Block a user