Skip to content

All Clients Sync their Time to the Server Time and the countdown is calculated on this basis

Marco Diaz Garcia requested to merge timesync into staging

TimeService => Syncs the time Initially when loading the page and has a function to resync the time and get the synced time CountdownService => Calculates the countdown by the quizes currentStartTimestamp and the questionduration

Now the time gets synced initally by sending 5 HTTP-Request to the backend server and calculating the average time delta. When starting a quiz question or reloading the page inside of a question the countdown is recalculated.

Merge request reports