Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

SERVER-6391 add resetLastTime to ElapsedTracker

  • Loading branch information...
commit 6701b6ea856ec2b34fe85429f5e920c86cb8391d 1 parent 6aa8078
@erh erh authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 util/net/listen.h
View
4 util/net/listen.h
@@ -123,6 +123,10 @@ namespace mongo {
return false;
}
+ void resetLastTime() {
+ _last = Listener::getElapsedTimeMillis();
+ }
+
private:
int _h;
int _ms;
Please sign in to comment.
Something went wrong with that request. Please try again.