ya-world-time

Crates.ioya-world-time
lib.rsya-world-time
version0.1.3
sourcesrc
created_at2023-04-05 20:43:37.331248
updated_at2023-04-09 20:32:42.426724
descriptionLibrary for getting current time from the world clock
homepage
repository
max_upload_size
id831391
size16,080
(scx1332)

documentation

README

ya-world-time

Library for keeping time as precise as possible

Variables

#provide list of time servers
YA_WORLD_TIME_SERVER_HOSTS=time.google.com;ntp.qix.ca;ntp.nict.jp;pool.ntp.org;time.cloudflare.com;ntp.fizyka.umk.pl;time.apple.com;time.fu-berlin.de;time.facebook.com
#max number of requests to send at once
YA_WORLD_TIME_MAX_AT_ONCE=50 
#max number of servers to process
YA_WORLD_TIME_MAX_TOTAL=100 
#max request timeout in milliseconds, otherwise drop request
YA_WORLD_TIME_MAX_TIMEOUT=300 
Commit count: 0

cargo fmt