Skip to content

Commit

Permalink
Reduce TTL for ack and mailbox messages
Browse files Browse the repository at this point in the history
  • Loading branch information
chimp1984 committed Nov 4, 2020
1 parent 163697a commit fd2a04a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion p2p/src/main/java/bisq/network/p2p/AckMessage.java
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public static AckMessage fromProto(protobuf.AckMessage proto, int messageVersion

@Override
public long getTTL() {
return TimeUnit.DAYS.toMillis(10);
return TimeUnit.DAYS.toMillis(2);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,6 @@ public static MailboxStoragePayload fromProto(protobuf.MailboxStoragePayload pro

@Override
public long getTTL() {
return TimeUnit.DAYS.toMillis(15);
return TimeUnit.DAYS.toMillis(7);
}
}

0 comments on commit fd2a04a

Please sign in to comment.