增加 监听文件夹数
This commit is contained in:
parent
9004aceb91
commit
5f43051ae8
@ -9,6 +9,7 @@ import (
|
|||||||
"math/rand"
|
"math/rand"
|
||||||
"os"
|
"os"
|
||||||
"path"
|
"path"
|
||||||
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
@ -134,6 +135,7 @@ func addWatcher() {
|
|||||||
log.Fatalln(err)
|
log.Fatalln(err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
log.Println("total monitored dirs: " + strconv.Itoa(len(dirsMap)))
|
||||||
log.Println("fileboy is ready.")
|
log.Println("fileboy is ready.")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user