Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-166

JavaScript: Enable request processing limitation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • Scripting JavaScript 2.0.2
    • None
    • Scripting
    • None

    Description

      The Rhino ContextFactory enables functionality to limit the time a given script may run. This might be particularly usefull for the web application case to prevent hogging the server with "never ending" scripts.

      The drawback of this functionality is, that the scripts must be interpreted, because the limits are enforced by the interpreter. But given that scripts are generally small and simple (and more complex business logic is done in Java classes), this may not be a big issue.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              fmeschbe Felix Meschberger
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: