Skip to content

Commit

Permalink
Merge pull request #191 from cre-ne-jp/gem-update-twitter_fix-http-ti…
Browse files Browse the repository at this point in the history
…meout

UrlFetchTitle: タイムアウト指定の引数を修正する
  • Loading branch information
koi-chan committed Sep 8, 2020
2 parents a5e4b07 + 356b809 commit 402d2a9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/rgrb/plugin/url_fetch_title/generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ def fetch_title(url)
body =
begin
response = HTTP.
timeout(:global,
write: @write_timeout,
timeout(write: @write_timeout,
connect: @connect_timeout,
read: @read_timeout).
get(url,
Expand Down

0 comments on commit 402d2a9

Please sign in to comment.