Skip to content

Commit 34bc2f2

Browse files
committed
Ensure backward compatibility while adding support for configuring the ping interval
- ref. https://github.com/reactor/reactor-netty/actions/runs/13095356929/job/36537031690?pr=3612 Signed-off-by: raccoonback <[email protected]>
1 parent dfe7f25 commit 34bc2f2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

reactor-netty-http/src/main/java/reactor/netty/http/Http2SettingsSpec.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,9 @@ public interface Builder {
108108
* @return {@code this}
109109
* @since 1.2.3
110110
*/
111-
Builder pingInterval(Duration pingInterval);
111+
default Builder pingInterval(Duration pingInterval) {
112+
return this;
113+
}
112114
}
113115

114116
/**

0 commit comments

Comments
 (0)