Skip to content

$rootScope.$apply() and terrible performance with multiple files #687

@maurycyg

Description

@maurycyg

I've an application where I use file uploader 2.3.4 at some point, I noticed a drop in performance while a list of just 50 items was loaded at the same time. After digging a bit I found that this line is called https://github.com/nervgh/angular-file-upload/blame/master/src/services/FileUploader.js#L342 causing ALL the watchers to be fired way too often. This should be handled differently. In my case, I could remove the _render as uploader renders properly and now adding 300+ files has no hiccups

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions