Adhoc Tasks should have query cache disabled globally

Description

Excel export did not work anymore as the getTask method was called twice and returned that the task is pending even though it was set to running in between.
A general approach would be to disable query caching for adhoc tasks much in the same way it is done for regular taskmanager tasks.
Proposal: add $getRequestContext().setUseQueryCache( false ); in runTask method in AdhocTaskManagerService.cfc

Environment

None

Status

Assignee

Dominic Watson

Reporter

Jan Jannek

Labels

None

Accepted

Yes

Fix versions

Priority

High
Configure