Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
akamel001 committed Apr 8, 2012
1 parent 600e9d7 commit 97b2dbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/SimpleDB.java
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ public void run() {
Random generator = new Random();
double probOfRefresh = 1.0/localMbrList.size();
double rand = generator.nextDouble();

if(DEBUG) System.out.println("Local member list: " + localMbrList.toString());
if(rand <= probOfRefresh)
memberRefresh();
} catch (InterruptedException e) {
Expand Down

0 comments on commit 97b2dbe

Please sign in to comment.