Skip to content

[Optimization] Convert the TQ Storage initialization code to a registration mechanism. #102

@fy2462

Description

@fy2462

Background

I found @0oshowero0's comments in function _maybe_create_tq_storage, and I quite agree with this approach.

# TODO(hz): Adopt registry pattern to manage storage backends for better scalability.
def _maybe_create_tq_storage(conf: DictConfig) -> DictConfig:

So I am planning to refact this code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions