TWSD-747: Spend too much time on NTP time sync mechanism

Review Request #850 — Created May 9, 2025 and updated

wli
APV10
rel_apv_10_7_2
TWSD-747
tanya, timlai, timsu

APV take a long time to sync with NTP server.

Root cause:
The real problem is "show date" CLI and "date" linux command output are inconsistent.

After investing the code, APV uses a different time function, which will cache time locally after 1st call.

Fix:
Changed it a standard time() function.

Loading...