mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-09-19 10:08:03 +08:00
增加项目导出目录配置,可自定义导出的缓存目录
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user