Skip to content

Feature: Improve the performance of saving toggles to the StorageProvider #112

@lsj8706

Description

@lsj8706

Describe the feature request

Save toggles at once when Poller stores values to StorageProvider

Background

Currently, the Poller saves toggles to the StorageProvider individually through iteration, which consumes excessive resources. This improvement will optimize the process by implementing batch saving of the toggle array to Storage.

Solution suggestions

Add a new method reset(keyedValues: [String : Toggle]) to StorageProvider protocol

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions