Skip to content

Commit f754e31

Browse files
committed
Add http_options parameter
1 parent 6047d27 commit f754e31

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/kitchensink/app.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ def client
99
@client ||= Line::Bot::Client.new do |config|
1010
config.channel_secret = ENV["LINE_CHANNEL_SECRET"]
1111
config.channel_token = ENV["LINE_CHANNEL_TOKEN"]
12+
config.http_options = {
13+
open_timeout: 5,
14+
read_timeout: 5,
15+
}
1216
end
1317
end
1418

0 commit comments

Comments
 (0)