https://bugzilla.wikimedia.org/show_bug.cgi?id=72549

            Bug ID: 72549
           Summary: $wgJobBackoffThrottling['gwtoolsetUploadMetadataJob']
                    is blown away later in CommonSettings.php
           Product: Wikimedia
           Version: wmf-deployment
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General/Unknown
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
       Web browser: ---
   Mobile Platform: ---

Lines 1941-1943 of CommonSettings.php:

> // extra throttling until the image scalers are more robust
> GWToolset\Config::$mediafile_job_throttle_default = 5; // 5 files per batch
> $wgJobBackoffThrottling['gwtoolsetUploadMetadataJob'] = 5 / 3600; // 5 
> batches per hour

Lines 2390-2396 of CommonSettings.php:

> # Similar to above but not for single template/file changes
> $wgJobBackoffThrottling = array(
>    # Avoid excessive CPU due to cache misses from rapid invalidations
>    'htmlCacheUpdate' => 20, // pages/sec per runner
>    # Avoid excessive DB usage for backlink tables
>    'refreshLinks'    => 20, // pages/sec per runner
> );

The later assignment to $wgJobBackoffThrottling would prevent the assignment to
$wgJobBackoffThrottling['gwtoolsetUploadMetadataJob'] from having any effect.

Either the earlier assignment is not needed and should be removed, or it is
needed and the later assignment should be to individual keys and not the entire
array. Which is the case?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to