Bug 8649 - Processing tweaks for acron plugin
Processing tweaks for acron plugin
Status: NEW
Product: OJS
Classification: Unclassified
Component: Plug-ins
3.0b
All All
: P3 normal
Assigned To: beghelli
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-26 15:33 PDT by Alec Smecher
Modified: 2014-05-07 10:13 PDT (History)
1 user (show)

See Also:
Version Reported In:
Also Affects: OJS 3, OMP 1.1


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alec Smecher 2014-03-26 15:33:44 PDT
The acron plugin would be less obtrusive to users if it did two things...

- Use ignore_user_abort to prevent an impatient user from interrupting processing
- Use register_shutdown_function to get processing to happen after the page is displayed to the user.
Comment 1 Juan Pablo Alperin 2014-03-26 15:47:43 PDT
and set_time_limit(0)
Comment 2 beghelli 2014-05-06 16:34:08 PDT
Add link to the comment that documents this behavior
https://github.com/pkp/ojs/commit/9d1204757acc93c300764f58b3f8d80a9dfcc794
Comment 3 beghelli 2014-05-06 16:34:08 PDT
Use shutdown function to execute tasks
https://github.com/pkp/ojs/commit/197520e054b64aa9b947d17ad8b1adacd5498dfc
Comment 4 beghelli 2014-05-06 16:37:48 PDT
Fixed for ojs-stable-2_4, need to port to pkp library.