Skip to content

Optimize refresh_stats to skip disabled projects #421

@iafan

Description

@iafan

When refresh_stats command is executed without --project parameter, it now iterates through all projects, including disabled ones. This may significantly increase the processing time.

It makes sense to adjust it to skip disabled projects by default, but still allow refreshing stats for disabled projects via refresh_stats --project some_disabled_project.

In addition to that, we could add something like refresh_stats --include-disabled-projects to imitate the current behavior.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions