Puppet Class: profile::mediawiki::maintenance::parsercachepurging

Defined in:
modules/profile/manifests/mediawiki/maintenance/parsercachepurging.pp

Overview



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'modules/profile/manifests/mediawiki/maintenance/parsercachepurging.pp', line 1

class profile::mediawiki::maintenance::parsercachepurging {

    # Every day, Purge entries older than 21d * 86400s/d = 1814400s
    #
    # WARNING: Increasing msleep may cause exponential growth. Deletes must outpace other writes! (T282761)
    #
    profile::mediawiki::periodic_job { 'purge_parsercache_pc1':
        command  => '/usr/local/bin/mwscript purgeParserCache.php --wiki=aawiki --tag pc1 --age=1814400 --msleep 200',
        interval => '01:00',
    }
    profile::mediawiki::periodic_job { 'purge_parsercache_pc2':
        command  => '/usr/local/bin/mwscript purgeParserCache.php --wiki=aawiki --tag pc2 --age=1814400 --msleep 200',
        interval => '01:00',
    }
    profile::mediawiki::periodic_job { 'purge_parsercache_pc3':
        command  => '/usr/local/bin/mwscript purgeParserCache.php --wiki=aawiki --tag pc3 --age=1814400 --msleep 200',
        interval => '01:00',
    }
}