[PATCH] Use tiny, fast and thread-safe ntplib module instead of ntpdate
Brian C. Lane
bcl at redhat.com
Mon Jul 29 18:57:51 UTC 2013
On Fri, Jul 26, 2013 at 01:41:04PM +0200, Vratislav Podzimek wrote:
> ntpdate is quite a big and slow binary that is not further developed and
> basically nobody but us uses it. ntplib is a tiny, fast and thread-safe module
> provided by the python-ntplib package containing only the tiny module.
Nice find!
> + settimeofday(&tv, NULL);
Should we be checking the rc and raising an error if it fails?
--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/anaconda-patches/attachments/20130729/826e210e/attachment.sig>
More information about the anaconda-patches
mailing list