•  
      request #9976 Do not over compute disk statistics
    Infos
    #9976
    Manuel Vacelet (vaceletm)
    2024-05-16 16:38
    2017-02-20 18:45
    10269
    Details
    Do not over compute disk statistics

    When nothing changed, there is no reason to re-check disk size

    Site admin
    9.4
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    New
    2017-02-20
    Attachments
    Empty
    References
    References list is empty

    Follow-ups

    User avatar

    This request is a bit different. For most services, we can know if something was changed since the last scan. For instance, for git, we have logs. If no push were done since the last time we gathered the disk stats, we should skip the projet. As disk scan are quite I/O instensive it would reduce the pressure on disk.

    User avatar

    Looking at plugins/statistics/include/Statistics_DiskUsageManager.class.php it seems that these statistics are store in DB and only refreshed regularly.

    Thus, such request must be closed.