Page MenuHomePhabricator

Set Default Number of Workers for Template Namespace
Closed, ResolvedPublic3 Estimated Story Points

Description

In order to run export and fetch tasks for template namespace concurrently for different dbs, we need to pass number of workers to the handlers.

For the 0, 6, and 14 namespaces, number of workers are calculated based on the number of pages in those namespaces. (Refer config/projects.json)

We do not have number of pages data for template namespace. So, we will use a default number of workers (50) for template namespace.

  1. Update calc_export_workers - Check if number_of_pages_in_ns is present in the project for a certain namespace. If not, set 50.
  2. Update get_workers - - Check if number_of_pages_in_ns is present in the project for a certain namespace. If not, set 50.

Event Timeline

Lena.Milenko changed the task status from Open to In Progress.May 17 2022, 3:09 PM
Lena.Milenko changed the task status from In Progress to Open.May 26 2022, 11:48 AM