Permalink
Browse files

SERVER-6391 add resetLastTime to ElapsedTracker

  • Loading branch information...
erh committed Jul 16, 2012
1 parent 6aa8078 commit 6701b6ea856ec2b34fe85429f5e920c86cb8391d
Showing with 4 additions and 0 deletions.
  1. +4 −0 util/net/listen.h
View
@@ -123,6 +123,10 @@ namespace mongo {
return false;
}
+ void resetLastTime() {
+ _last = Listener::getElapsedTimeMillis();
+ }
+
private:
int _h;
int _ms;

0 comments on commit 6701b6e

Please sign in to comment.