Skip to content

Commit 3f37e6e

Browse files
committed
rollbacks unwanted changes
Signed-off-by: Oleh Dokuka <[email protected]>
1 parent ab0ce37 commit 3f37e6e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

rsocket-examples/src/main/java/io/rsocket/examples/transport/tcp/resume/ResumeFileTransfer.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,7 @@ public static void main(String[] args) {
3636
RSocketFactory.connect()
3737
.resume()
3838
.resumeStrategy(
39-
() -> {
40-
System.out.println("created");
41-
return new VerboseResumeStrategy(
42-
new PeriodicResumeStrategy(Duration.ofSeconds(1)));
43-
})
39+
() -> new VerboseResumeStrategy(new PeriodicResumeStrategy(Duration.ofSeconds(1))))
4440
.resumeSessionDuration(Duration.ofMinutes(5))
4541
.transport(TcpClientTransport.create("localhost", 8001))
4642
.start()

0 commit comments

Comments
 (0)