You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To ensure that Wink works accurately, it is critical that the system time on the client machine is correct. Misalignment can cause issues with the correct functioning of the application.
To prevent such issues, it is proposed to add a feature to Wink that would compare the system time on the client machine with an absolute time reference from an NTP server. If the time difference is significant (e.g., more than 1 minute), Wink should fail with an appropriate error message.
This feature should be configurable through the application's configuration. Two new configuration settings should be introduced:
A boolean setting to enable or disable the time check (e.g., check_time: true/false).
A string setting to specify the NTP server to use for time checks (e.g., ntp_server: "pool.ntp.org").
If the ntp_server setting is not specified but check_time is enabled, Wink should use the default NTP server (pool.ntp.org).
Acceptance Criteria:
Wink has a configuration option to enable or disable the system time check.
Wink has a configuration option to specify the NTP server for time checks.
If the time check is enabled, Wink compares the system time on the client machine with the time from the specified (or default) NTP server.
If the time difference is significant, Wink fails with an error message.
Documentation is updated to include information about the new configuration options and the time check feature.
The text was updated successfully, but these errors were encountered:
To ensure that Wink works accurately, it is critical that the system time on the client machine is correct. Misalignment can cause issues with the correct functioning of the application.
To prevent such issues, it is proposed to add a feature to Wink that would compare the system time on the client machine with an absolute time reference from an NTP server. If the time difference is significant (e.g., more than 1 minute), Wink should fail with an appropriate error message.
This feature should be configurable through the application's configuration. Two new configuration settings should be introduced:
check_time: true/false
).ntp_server: "pool.ntp.org"
).If the
ntp_server
setting is not specified butcheck_time
is enabled, Wink should use the default NTP server (pool.ntp.org
).Acceptance Criteria:
The text was updated successfully, but these errors were encountered: