Scope of the elapsed_time Limit Type

The scope of a resource limit that restricts elapsed time is either a query batch or transaction.

Related concepts
Determining the Scope of Resource Limits