Metadata
- Source
- DECA-327
- Type
- Bug
- Priority
- Major
- Status
- Open
- Resolution
- N/A
- Assignee
- N/A
- Reporter
- Justin Obara
- Created
2012-10-10T09:25:52.755-0400 - Updated
2012-10-10T09:38:07.038-0400 - Versions
-
- 0.5
- 0.6
- Fixed Versions
- N/A
- Component
-
- Server
Description
When a long process is run in the background (e.g. genpdf, image conversion, dwarping) there is no means of killing the running process. The user could refresh the UI, but the process would still be executing on the server.
Comments
-
Justin Obara commented
2012-10-10T09:27:14.189-0400 Currently the BackgroundTaskQueue only tries to execute the queued function, but doesn't retain any pointers to it. https://bitbucket.org/jobara/decapod-0.7-server-iteration2/src/1a304061d6d3/utils/backgroundTaskQueue.py?at=trunk#cl-47
-
Justin Obara commented
2012-10-10T09:38:07.038-0400 Another area to look at would be the invokeCommandSync function from the utils. This is used to call the command line tools. However at the moment it will only return once the command line tool finishes executing. https://bitbucket.org/jobara/decapod-0.7-server-iteration2/src/1a304061d6d3/utils/utils.py?at=trunk#cl-151