diff app/models/tweet.rb @ 221:545ce38ef3d6

Remove copied off client_options (to Clients)
author nanaya <me@nanaya.pro>
date Thu, 27 May 2021 02:31:59 +0900
parents 0e15b4db2da8
children
line wrap: on
line diff
--- a/app/models/tweet.rb	Thu May 27 02:31:31 2021 +0900
+++ b/app/models/tweet.rb	Thu May 27 02:31:59 2021 +0900
@@ -10,16 +10,6 @@
     (15 + rand(15)).minutes
   end
 
-  def self.client_options(id)
-    {
-      :timeouts => {
-        :connect => 5,
-        :read => 5,
-        :write => 5,
-      },
-    }.merge $cfg[:twitter][id]
-  end
-
   def initialize(twitter_id)
     @twitter_id = twitter_id
   end