Skip to content

Commit

Permalink
vault code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
pdowler committed Mar 25, 2024
1 parent af92038 commit f737dee
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,18 +106,13 @@ public DataNodeSizeSync(HarvestStateDAO stateDAO, ArtifactDAO artifactDAO, Names
this.artifactDAO = artifactDAO;
this.artifactNamespace = artifactNamespace;

// fenwick setup for production workload:
//dao.setUpdateBufferCount(99); // buffer 99 updates, do every 100
//dao.setMaintCount(999); // buffer 999 so every 1000 real updates aka every 1e5 events

// we need continuous timestamp updates to retain leader status, so only schedule maintenance
stateDAO.setUpdateBufferCount(0);
stateDAO.setMaintCount(9999); // every 1e4
}

public void setOffline(boolean offline) {
this.offline = offline;

}

@Override
Expand Down

0 comments on commit f737dee

Please sign in to comment.