https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41921

Martin Renvoize (ashimema) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Text to go in the|Saved SQL reports can now   |This enhancement adds the
      release notes|run as background jobs, so  |ability to run reports as
                   |long reports do not need    |background jobs. This
                   |the browser to stay open.   |allows long-running reports
                   |Results are available from  |to process their query in
                   |the Report jobs page        |the background, with
                   |(Reports > Report jobs),    |results available to users
                   |which also lists reports    |once they've completed. A
                   |that are currently running. |new report jobs page shows
                   |Background runs are         |all currently running
                   |processed by the background |reports and provides access
                   |jobs worker, which must be  |to all reports previously
                   |running.
                   |run as background jobs.
                   |
                           |This behavior is controlled
                   |**New system preferences**
 |by a new system preference,
                   |- `ReportsRunInBackground`  |ReportsRunInBackground. The
                   |(default: never) - how      |system preference options
                   |saved SQL reports run:      |allow for either all
                   |`always` (every run is a    |reports to run in the
                   |background job), `never`    |foreground, all reports to
                   |(every run is in the        |run in the background, or
                   |foreground) or              |for the user to choose when
                   |`user_choice` (the user     |the report is run. Further,
                   |chooses on each run).
      |the execute_reports
                   |
                           |permission is split into a
                   |**New permissions**
        |permission to execute
                   |- `reports >                |reports in the foreground
                   |execute_reports_foreground` |and a permission to execute
                   |- run saved SQL reports in  |reports in the background.
                   |the foreground.
            |
                   |- `reports >                |
                   |execute_reports_background` |
                   |- run saved SQL reports as  |
                   |background jobs.
           |
                   |
                           |
                   |**Configuration**
          |
                   |The concurrency limits in   |
                   |koha-conf.xml can be set    |
                   |separately for foreground   |
                   |and background runs. The    |
                   |combined limits             |
                   |(`duplicate_running_reports |
                   |_per_user_limit`,           |
                   |`total_running_reports_per_ |
                   |user_limit` and             |
                   |`total_running_reports_per_ |
                   |instance_limit`) apply to   |
                   |both. Each per-run-type     |
                   |limit below defaults to 0   |
                   |(no limit) and, when set,   |
                   |replaces the combined limit |
                   |for that run type:
         |
                   |-                           |
                   |`foreground_duplicate_runni |
                   |ng_reports_per_user_limit`  |
                   |and                         |
                   |`background_duplicate_runni |
                   |ng_reports_per_user_limit`
 |
                   |-                           |
                   |`foreground_total_running_r |
                   |eports_per_user_limit` and  |
                   |`background_total_running_r |
                   |eports_per_user_limit`
     |
                   |-                           |
                   |`foreground_total_running_r |
                   |eports_per_instance_limit`  |
                   |and                         |
                   |`background_total_running_r |
                   |eports_per_instance_limit`
 |
                   |
                           |
                   |Queued background jobs      |
                   |count towards the           |
                   |instance-wide total.
       |
                   |
                           |
                   |**To enable**
              |
                   |1. Set                      |
                   |`ReportsRunInBackground` to |
                   |`always` or `user_choice`   |
                   |in Administration > System  |
                   |preferences. It is set to   |
                   |`never` after upgrade, so   |
                   |reports still run in the    |
                   |foreground.
                |
                   |2. Grant                    |
                   |`execute_reports_background |
                   |` to staff who should run   |
                   |reports as background jobs. |
                   |
                           |
                   |**Upgrade notes**
          |
                   |- The `execute_reports`     |
                   |permission is replaced by   |
                   |`execute_reports_foreground |
                   |` and                       |
                   |`execute_reports_background |
                   |`. Staff who had            |
                   |`execute_reports` receive   |
                   |both, so their access is    |
                   |unchanged.                  |

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to