Increase triggerOpportunisticLinksUpdate() backoff TTL
authorAaron Schulz <aschulz@wikimedia.org>
Mon, 11 Apr 2016 20:29:46 +0000 (13:29 -0700)
committerOri.livneh <ori@wikimedia.org>
Mon, 11 Apr 2016 21:58:47 +0000 (21:58 +0000)
commitb543b9bf11afd49dc1db23f83b9446c121da0c05
treee374a8e848d1e5d7b58bc9b18daa2edc2ac5c300
parentb124ff242170098ce70ad4c93587f0e8e14f7d97
Increase triggerOpportunisticLinksUpdate() backoff TTL

Make use of the expected TTL for the links to become
possible stale, instead of the hard-coded value of
60 seconds. Use a minimum of 3600.

Heavily used Commons templates, for example, lower
the parser cache TTL to 86400. Enqueuing jobs before
that time passes is a waste.

Bug: T132318
Change-Id: I9a3c088db9dd1747b8e99ccf7ec4633e7f01fe7b
includes/page/WikiPage.php