Since T195792: Add support for setting individual query timeout in wikimedia/rdbms is done now we can set a max execution time. For the initial deployment:
- Five special pages and their API counterparts will get max query time of 30s (why 30s?): RecentChanges, RecentChangesLinked, Watchlist, Log, Contributions
- All of direct queries done by DPL will get a 10s timeout.
Rolling out plan for the special pages:
- Before 2022, we roll it out on 1/3rd of requests randomly (with a rand() function in CommonSettings.php)
- First week of January: We roll it out everywhere
DPL will get it without gradual deployment.
Detailed announcement: https://lists.wikimedia.org/hyperkitty/list/wikitech-l@lists.wikimedia.org/thread/IPJNO75HYAQWIGTHI5LJHTDVLVOC4LJP/