增加项目导出目录配置,可自定义导出的缓存目录

This commit is contained in:
lifei6671
2018-07-11 11:30:48 +08:00
parent 449fecd4eb
commit ebf36e6146
6 changed files with 24 additions and 10 deletions

View File

@@ -193,13 +193,11 @@ func (convert *Converter) Convert() (err error) {
group := sync.WaitGroup{}
for {
action, isClosed := <-convert.process
fmt.Println(action,isClosed)
if action == nil && !isClosed {
break;
}
group.Add(1)
<- convert.limitChan
fmt.Println("正在处理")
go func(group *sync.WaitGroup) {
action()
group.Done()