summaryrefslogtreecommitdiff
path: root/client/dbclient_rs.cpp
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2011-02-13 16:04:06 -0500
committerEliot Horowitz <eliot@10gen.com>2011-02-13 16:04:06 -0500
commit7a4399841f24ba171156e63bffc5f1e1b4bcc9d2 (patch)
tree95703a9525a020348fade5208d1a0159ed055417 /client/dbclient_rs.cpp
parent71545122e77485b74d8371446b52c77b1ec5dab2 (diff)
downloadmongo-7a4399841f24ba171156e63bffc5f1e1b4bcc9d2.tar.gz
more background job debugging
Diffstat (limited to 'client/dbclient_rs.cpp')
-rw-r--r--client/dbclient_rs.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/dbclient_rs.cpp b/client/dbclient_rs.cpp
index d57958df6a8..f844cd0d3b4 100644
--- a/client/dbclient_rs.cpp
+++ b/client/dbclient_rs.cpp
@@ -33,6 +33,9 @@ namespace mongo {
// global background job responsible for checking every X amount of time
class ReplicaSetMonitorWatcher : public BackgroundJob {
+ public:
+ virtual string name() const { return "ReplicaSetMonitorWatcher"; }
+
protected:
void run() {
while ( ! inShutdown() ) {