This commit is contained in:
Audrius Butkevicius 2014-11-13 22:30:43 +00:00
parent 39a3b8922d
commit 1aaf34b0ed
1 changed files with 1 additions and 1 deletions

View File

@ -1053,7 +1053,7 @@ func (m *Model) ScanFolderSub(folder, sub string) error {
return err
}
batchSize := 100
batch := make([]protocol.FileInfo, 0, 00)
batch := make([]protocol.FileInfo, 0, batchSize)
for f := range fchan {
events.Default.Log(events.LocalIndexUpdated, map[string]interface{}{
"folder": folder,