Skip to content

BUG: Delayed Join Times! #2

@progammer

Description

@progammer

Issue
It's possible that the auto-join/reminder features occur (exactly) one minute later than expected. This is possibly due to the internal clock not being properly updated. The reason the delay is a minute later is because the script only performs checks every 1 minute (which entails iterating through all classes and finding the difference between the times).

Efficiency could be improved by iterating through each class listings and then create setTimeout/setInterval functions for each of them on load of the script (though I'm not sure about the internal implementations of those functions or if it makes it much better). Don't know if this would fix the offset though...

Details worth noting:

  • currently, the time is set every time the clock hits :00 on the second hand

How to Reproduce this Bug
It's worth noting that the app actually works as intended in most cases, and this bug occurs seemingly randomly. If there is any pattern that I've found, however, it's that when I restart/lock my computer, chrome loading up with the background scripts and everything could possibly cause the time that's being compared to the meeting times to be desynchronized

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions