Navigation Menu

Skip to content

Commit

Permalink
Only collect SD statistics from native SDs.
Browse files Browse the repository at this point in the history
It makes no sense to try collecting statistics from NDMP storage
devices as we have no support for that.
  • Loading branch information
Marco van Wieringen committed May 19, 2015
1 parent da38df3 commit 3556bb1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/dird/stats.c
Expand Up @@ -210,6 +210,14 @@ void *statistics_thread_runner(void *arg)
continue;
}

switch (store->Protocol) {
case APT_NATIVE:
break;
default:
UnlockRes();
continue;
}

/*
* Try connecting 2 times with a max time to wait of 1 seconds.
* We don't want to lock the resources to long. And as the stored
Expand Down

0 comments on commit 3556bb1

Please sign in to comment.