Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-58880

As a Confluence administrator I would like to configure a timeout specific to long running user macros

    XMLWordPrintable

Details

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      Problem Definition

      An User Macro is a great way to extend Confluence functionalities, since the administrator can code virtually anything.

      Depending on what the macro is coded for, its operation may take a long time to complete and, while it is running, it is prone to impact on Confluence performance.
      Currently, there's no mechanism to kill the inner operation performed by the user macro if it is running for longer than a threshold.

      Suggested Solution

      Introduce a configurable timeout to user macros and an option to asynchronously run them.
      If a macro is taking a long time to complete, kill the macro rendering thread after the specified threshold.

      Although the macro should be extensively tested for performance and security reasons, it would be great if Confluence could safeguard itself from expensive operations.

      Workaround

      _No workaround so far.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tmasutti Thiago Masutti
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: