Skip to content

Update folder sizes in a background job #18028

Closed

Description

@PVince81

Currently when uploading, moving or deleting files in a folder, we call correctFolderSize which will iterate over all the parents to update the size of the folders in "oc_filecache".
When uploading several files in parallel into the same folder, this might happen often and cause additional needless SQL queries.

I suggest we move this operation to a debounced background job.

@icewind1991 @DeepDiver1975

Activity

  1. added this to the backlog milestone on Mar 1, 2016
  2. PVince81 commented on Mar 1, 2016

    @PVince81
    ContributorAuthor

    Could be obsoleted by #22648

  3. lock commented on Aug 3, 2019

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  4. locked as resolved and limited conversation to collaborators on Aug 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions