Clarify the documentation. Add the hash config to the example config. Uses duration in the delay field instead of the seconds.
This commit is contained in:
@@ -61,7 +61,7 @@ public class HashManager {
|
||||
this.rotationStrategy = new RotationPerRequests(config.getRequests());
|
||||
break;
|
||||
case per_seconds:
|
||||
this.rotationStrategy = new TimeBasedRotation(config.getDelay());
|
||||
this.rotationStrategy = new TimeBasedRotation(config.getDelayInSeconds());
|
||||
break;
|
||||
default:
|
||||
throw new IllegalArgumentException("Unknown rotation type: " + config.getHashStorageType());
|
||||
|
||||
Reference in New Issue
Block a user