Skip to content

Commit

Permalink
fixed small typescript bug
Browse files Browse the repository at this point in the history
  • Loading branch information
biw committed Sep 5, 2024
1 parent 1ec6df1 commit a97eedf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/applyWsHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ type UWSBuiltInOpts = {
/** Maximum length of received message. If a client tries to send you a message larger than this, the connection is immediately closed. Defaults to 16 * 1024. */
maxPayloadLength?: number;
/** Whether or not we should automatically close the socket when a message is dropped due to backpressure. Defaults to false. */
closeOnBackpressureLimit?: number;
closeOnBackpressureLimit?: boolean;
/** Maximum number of minutes a WebSocket may be connected before being closed by the server. 0 disables the feature. */
maxLifetime?: number;
/** Maximum amount of seconds that may pass without sending or getting a message. Connection is closed if this timeout passes. Resolution (granularity) for timeouts are typically 4 seconds, rounded to closest.
Expand Down

0 comments on commit a97eedf

Please sign in to comment.