Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excessive profile sync to Nightscout #6

Open
sulkaharo opened this issue Aug 19, 2020 · 2 comments
Open

Excessive profile sync to Nightscout #6

sulkaharo opened this issue Aug 19, 2020 · 2 comments

Comments

@sulkaharo
Copy link

Hi! I got reports from some 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. 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 the profile sync to happen excessively.

@rehtori
Copy link

rehtori commented Aug 26, 2020

I had this problem too. Setup I use has Loop (FREEAPS), spike, blucon nightrider, libre1, nightscout.

Noticed this problem as spike stopped showing new treatments, but those were visible in NS chart. Then noticed that NS profiles were causing NS reports to not load.

The fix was to remove the profiles collection from the Mongo and let NS re create it by making profile change from loop settings.

@rehtori
Copy link

rehtori commented Aug 26, 2020

Checked amount of profiles now after using the newest (172) freeaps version for 12 hours. There is 6 documents in profiles.

Edit: Checked again and now there is 39 documents after 6 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants