EmotionCognitionLab / pvs

1 stars 0 forks source link

Do not delete emWave sessions that are >= 3 minutes long #372

Closed noah10 closed 1 year ago

noah10 commented 1 year ago

In #353 we changed the threshold for an acceptable amount of data in a segment from four minutes to three minutes. Unfortunately we did not change the short session deletion code in emwave-data.js at that time. Judging from the logs this has only affected one session so far, though:

{ "message": "Deleting short session for user AuldEve that runs from 2023-05-19 20:41:45 to 2023-05-19 20:45:21. \n", "level": "log", "user": "31fdde3e-*****" }

noah10 commented 1 year ago

This has been deployed to production.