Reopen db connection after doing SpecialPageCacheUpdates
authorBrian Wolff <bawolff+wn@gmail.com>
Tue, 26 Sep 2017 21:51:31 +0000 (21:51 +0000)
committerBrian Wolff <bawolff+wn@gmail.com>
Wed, 27 Sep 2017 22:48:31 +0000 (22:48 +0000)
commit67f04373d6d4fe5295b0823ac47944e20a649bfd
tree98e92e9ac85a6cd92e031c074e366a8cbc8590ee
parent756f1f6aa2bed0a5e5fcf5d5945f7df8a9dd2991
Reopen db connection after doing SpecialPageCacheUpdates

Special page updates on commons have been broken recently due
to Mysql "going away" after doing the ActiveUsers special page
cache update. Presumably this is because we were only repinging
the server after QueryPage updates, and not the callback updates
(Combined with a spike in wikidata recentchanges entries making
the ActiveUsers callback now take about an hour to complete)

Bug: T176055
Change-Id: Ic344940460c353544d7c08bbe2d8c900f6cc73da
maintenance/updateSpecialPages.php