[Koha-bugs] [Bug 10460] way to stop a run away report

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 21 14:57:13 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10460

Kyle M Hall <kyle at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kyle at bywatersolutions.com

--- Comment #1 from Kyle M Hall <kyle at bywatersolutions.com> ---
This is a pretty complicated process. I think it would require something likes
this:
a) Add a system preference "StopReports" ( or something similar ) and/or a new
staff permission.
b) When enabled, running a report would immediately send a partial html page
with a "Stop Report" button at the top, along with the PID of the process that
is generating the report.
c) Clicking the "Stop Report" button would launch another script via ajax which
sends the PID to a new script that does nothing but kill processes.
d) The script would attempt to kill the process generating the report and send
back a confirmation to the requester. 
e) If the processes cannot be killed, the web page would pop up an alert, if
the process was killed successfully, the page would redirect back to the report
that had been run.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list