git: 9front

Download patch

ref: 8a3721853988db09aa4d7eedf0fc54721e5401f4
parent: 847b1b85a0e9dd6f362bd359a35da25fe1613079
author: cinap_lenrek <cinap_lenrek@centraldogma>
date: Tue Aug 16 21:39:27 EDT 2011

timesync: do less aggressive clock sampling (issue #73)

--- a/sys/src/cmd/aux/timesync.c
+++ b/sys/src/cmd/aux/timesync.c
@@ -1273,6 +1273,7 @@
 	last = (*get)();
 	for(;;){
 		gettime(&start, 0, 0);
+		sleep(5);
 		this = (*get)();
 		gettime(&end, 0, 0);
 		if(this != last)
--