最適化 #249
完了たまに短時間フリーズすることがある
0%
説明
数秒単位でフリーズして、UIが動作しないことがある。
toshi_a 初音 さんが12年以上前に更新
- ステータス を 新規 から 実装待ち に変更
1分以上停止した後、以下のようなバックトレースを吐いた。CPUの使用率は0で、この間C-cがきかなかった。
notice: ./twitter_api.rb:233:in `query_with_auth': get /statuses/home_timeline.json?include_entities=1&count=100 => execution expired (71.78468s)
warning: ./twitter_api.rb:215:in `userstream': execution expired
from /usr/lib/ruby/1.8/net/protocol.rb:134:in `rbuf_fill'
from /usr/lib/ruby/1.8/net/protocol.rb:104:in `read_all'
from /usr/lib/ruby/1.8/net/http.rb:2224:in `read_body_0'
from /usr/lib/ruby/1.8/net/http.rb:2177:in `read_body'
from ./twitter_api.rb:213:in `userstream'
from /usr/lib/ruby/1.8/net/http.rb:1053:in `request'
from /usr/lib/ruby/1.8/net/http.rb:2140:in `reading_body'
from /usr/lib/ruby/1.8/net/http.rb:1052:in `request'
from /usr/lib/ruby/1.8/net/http.rb:1037:in `request'
from /usr/lib/ruby/1.8/net/http.rb:543:in `start'
from /usr/lib/ruby/1.8/net/http.rb:1035:in `request'
from ./oauth/consumer.rb:151:in `request'
from ./oauth/tokens/consumer_token.rb:26:in `request'
from ./oauth/tokens/access_token.rb:12:in `request'
from ./oauth/tokens/access_token.rb:28:in `get'
from ./twitter_api.rb:210:in `call'
from ./twitter_api.rb:210:in `userstream'
from ./post.rb:253:in `streaming'
from ./addon/streaming.rb:144:in `start_streaming'
from ./addon/streaming.rb:71:in `start'
from ./addon/streaming.rb:70:in `catch'
from ./addon/streaming.rb:70:in `start'
from ./addon/streaming.rb:67:in `initialize'
from ./addon/streaming.rb:67:in `new'
from ./addon/streaming.rb:67:in `start'
from ./addon/streaming.rb:16
from ./plugin/plugin.rb:93:in `call'
from ./plugin/plugin.rb:93
from ./plugin/plugin.rb:101:in `call'
from ./plugin/plugin.rb:101:in `plugin_loop'
from ./plugin/plugin.rb:117:in `call_routine'
from ./plugin/plugin.rb:117:in `catch'
from ./plugin/plugin.rb:117:in `call_routine'
from ./plugin/plugin.rb:107
from ./delayer.rb:38:in `call'
from ./delayer.rb:38:in `run'
from ./delayer.rb:60:in `run'
from ./delayer.rb:58:in `each'
from ./delayer.rb:58:in `run'
from ./delayer.rb:54:in `times'
from ./delayer.rb:54:in `run'
from mikutter.rb:159
from mikutter.rb:164:in `call'
from mikutter.rb:164:in `main'
from mikutter.rb:164:in `main'
from mikutter.rb:84:in `boot'
from mikutter.rb:202