Skip to content

Excessive profile syncing to Nightscout #1359

Closed
@sulkaharo

Description

@sulkaharo

Hi! I got reports from some Loop/FreeAPS users that they're having issues with Nightscout profiles. Checking their profile data, I noticed they have a huge amount of profile data in their system, where in some cases the profile has been synched in three times within one second, resulting in the profile collection bloating to be huge (in one case, recent profiles resulting in a 33 MB JSON object).

I doubt the profile actually changes this often, so I wonder where the glitch is that causes this. One suspicious part of thee data was that the loopSettings section seems to have "scheduleOverride" section, which seems to be part of the runtime data and not part of the profile, where if the next scheduled basal change is sometimes entered into the profile data and sync is caused by a difference in the profile, this would trigger an unintended profile sync. I'll check if there's a simple fix for the database code in NS, but checking if there's an issue in Loop would be great.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions