Depending on how async is used, may see multiple replication requests for a single async request.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1133197 13f79535-47bb-0310-9956-
ffa450edef68
// ------------------------------------------------------------- Properties
public ReplicationValve() {
- super(false);
+ super(true);
}
/**
}
/**
- * protocol cluster replications stats
+ * Protocol cluster replications stats
* @param requestTime
* @param clusterTime
*/
protected void updateStats(long requestTime, long clusterTime) {
+ // TODO: Async requests may trigger multiple replication requests. How,
+ // if at all, should the stats handle this?
synchronized(this) {
lastSendTime=System.currentTimeMillis();
totalSendTime+=lastSendTime - clusterTime;