We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3a12b7a + f610164 commit e38e04eCopy full SHA for e38e04e
src/main/java/io/nats/client/BaseConsumeOptions.java
@@ -147,7 +147,7 @@ public B json(String json) throws JsonParseException {
147
public B jsonValue(JsonValue jsonValue) {
148
messages(readInteger(jsonValue, MESSAGES, -1));
149
bytes(readLong(jsonValue, BYTES, -1));
150
- expiresIn(readLong(jsonValue, EXPIRES_IN, MIN_EXPIRES_MILLS));
+ expiresIn(readLong(jsonValue, EXPIRES_IN, DEFAULT_EXPIRES_IN_MILLIS));
151
thresholdPercent(readInteger(jsonValue, THRESHOLD_PERCENT, -1));
152
raiseStatusWarnings(readBoolean(jsonValue, RAISE_STATUS_WARNINGS, false));
153
group(readStringEmptyAsNull(jsonValue, GROUP));
0 commit comments