Skip to content

Commit

Permalink
Set hibernate_after to 10000 on streams
Browse files Browse the repository at this point in the history
  • Loading branch information
macpie authored and tsloughter committed Nov 18, 2023
1 parent 5c5ebe1 commit 8a62927
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/h2_stream.erl
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ start_link(StreamId, Streams, Connection, CallbackModule, CallbackOptions) ->
Connection,
CallbackModule,
CallbackOptions],
[]).
[{hibernate_after, 10000}]).


-spec start(
Expand All @@ -143,7 +143,7 @@ start(StreamId, Streams, Connection, CallbackModule, CallbackOptions) ->
Connection,
CallbackModule,
CallbackOptions],
[]).
[{hibernate_after, 10000}]).

send_event(Pid, Event) ->
gen_statem:cast(Pid, Event).
Expand Down

0 comments on commit 8a62927

Please sign in to comment.