trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject git commit: [TS-1101 traffic_line -x no longer works, at least not timely
Date Wed, 01 Feb 2012 00:51:58 GMT
Updated Branches:
  refs/heads/master 635a51f06 -> cbacb6da7


[TS-1101 traffic_line -x no longer works, at least not timely


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/cbacb6da
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/cbacb6da
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/cbacb6da

Branch: refs/heads/master
Commit: cbacb6da7f07f337d9b85220c21169f94deae953
Parents: 635a51f
Author: Leif Hedstrom <zwoop@apache.org>
Authored: Tue Jan 31 17:51:52 2012 -0700
Committer: Leif Hedstrom <zwoop@apache.org>
Committed: Tue Jan 31 17:51:52 2012 -0700

----------------------------------------------------------------------
 CHANGES                 |    3 +++
 lib/records/RecLocal.cc |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/cbacb6da/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 43a04a1..761e929 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,8 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache Traffic Server 3.1.2
+  *) [TS-1101 traffic_line -x no longer works, at least not in reasonable
+   time.
+
   *) [TS-1098] Make RC script support Amazon EC2 Linux AMI.
 
   *) [TS-1035] EventProcessor::spawn_thread doesn't check that there 

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/cbacb6da/lib/records/RecLocal.cc
----------------------------------------------------------------------
diff --git a/lib/records/RecLocal.cc b/lib/records/RecLocal.cc
index 7168b29..6bc77c8 100644
--- a/lib/records/RecLocal.cc
+++ b/lib/records/RecLocal.cc
@@ -106,7 +106,7 @@ sync_thr(void *data)
         RecFileClose(h_file);
       }
     }
-    sleep(REC_REMOTE_SYNC_INTERVAL_MS * 1000);
+    usleep(REC_REMOTE_SYNC_INTERVAL_MS * 1000);
   }
   return NULL;
 }


Mime
View raw message