Skip to content

mk_actions performance issue #345

Closed
@Zaczero

Description

@Zaczero

def mk_actions(collection_id: str, processed_items: List[Item]):

def mk_actions(collection_id: str, processed_items: List[Item]):

I have noticed that this bulk action repeatedly calls for index_alias_by_collection_id despite the collection_id never changing. It's better to call it once and reuse the variable for each item.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions