Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6685

Buffer YAML file mod checks

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 5.4.7
    • None
    • None
    • None
    • Basel 47
    • 2

    Description

      During a page rendering sequence we experience numerous DefinitionProvider#get() calls which for the case of YamlDefinitionProvider lead to the last modification date checks for all of the involved files. This adds a tiny performance overhead per call which stacks up into a big one and also is prone to exceed the open file descriptor quota.

      Solution here is to perform the last modification checks not more often that 1 per a second (in a normal development case - this is negligible from the dev experience point of view).

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                apchelintcev Aleksandr Pchelintcev
                apchelintcev Aleksandr Pchelintcev
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD