You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bm...@apache.org on 2014/05/02 00:59:58 UTC

[3/3] git commit: Added template parameter to Timer.

Added template parameter to Timer.

Review: https://reviews.apache.org/r/20925


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

Branch: refs/heads/master
Commit: d488357c55b2fbacd791c98cd70a58c56f0ddd0a
Parents: 88c235a
Author: Dominic Hamon <dh...@twopensource.com>
Authored: Thu May 1 15:56:18 2014 -0700
Committer: Benjamin Mahler <bm...@twitter.com>
Committed: Thu May 1 15:56:18 2014 -0700

----------------------------------------------------------------------
 src/master/registrar.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/d488357c/src/master/registrar.cpp
----------------------------------------------------------------------
diff --git a/src/master/registrar.cpp b/src/master/registrar.cpp
index e4b0b39..fecc314 100644
--- a/src/master/registrar.cpp
+++ b/src/master/registrar.cpp
@@ -152,8 +152,8 @@ private:
 
     Gauge queued_operations;
 
-    Timer state_fetch;
-    Timer state_store;
+    Timer<Milliseconds> state_fetch;
+    Timer<Milliseconds> state_store;
   } metrics;
 
   // Gauge handlers