Cap the time for Jira issue history deletion

Description

When deleting "All but 30 items" in Jira, we should have a timeout. A customer seems to be experiencing inappropriately long queries, even though our calculations meant it should be fast.

Environment

None

Observations

None
Resolved

Assignee

Unassigned

Reporter

Adrien Ragot (Play SQL / Requirement Yogi)