« Previous | Next » 

Revision 32371f04

Added by dalley over 1 year ago

Get rid of failure message on task cancellation

_release_resources() task checks whether task status is still set to "running". In the case of cancelation, that is still true if the transaction hasn't been committed yet. We need to set the task status to 'canceled' beforehand so that we kill the workhorse and the resource cleanup task runs, it doesn't think the workhorse died erroneously.

closes: #4559