Skip to content

race condition in openaps configuration #87

Description

@scottleibrand

When updating an alias or report using openaps alias add, openaps report add, or openaps import, sometimes the configuration will show updated (it will echo back the new config), but then when you run openaps (alias|report) show immediately afterward, the config has reverted to its previous state. (Usually I don't notice this until some time later, when the config I'm relying on to be updated doesn't seem to be working, for no good reason.)

I suspect this is because another openaps operation is ongoing at the time the (add|import) was executed, and when that operation completes, it writes its cached copy of the config, overwriting the updated config.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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