A1-frkweiichi / RUNTEQ_ARTICLES_BOT

1 stars 0 forks source link

GMAIL_TOKENがリフレッシュされるか経過観察 #84

Open A1-frkweiichi opened 2 months ago

A1-frkweiichi commented 2 months ago

https://github.com/A1-frkweiichi/RUNTEQ_ARTICLES_BOT/issues/76

A1-frkweiichi commented 2 months ago

RedisCacheStore , file_token_store の併用が問題かもしれない

❯❯❯rails c                                                                                                                                                                                  [main]
2024-08-24T08:29:33.879Z pid=95909 tid=1z21 INFO: Sidekiq 7.2.4 connecting to Redis with options {:size=>10, :pool_name=>"internal", :url=>"redis://localhost:6379/0"}
Loading development environment (Rails 7.1.3.4)
irb(main):001> Rails.cache
=> #<ActiveSupport::Cache::RedisCacheStore options={:expires_in=>1 hour, :namespace=>"cache", :compress=>true, :compress_threshold=>1024} redis=#<ConnectionPool:0x000000013437c5a0 @size=5, @timeout=5, @auto_reload_after_fork=true, @available=#<ConnectionPool::TimedStack:0x000000013437c550 @create_block=#<Proc:0x0000000132c7fde8 /Users/furukawaeiichi/.rbenv/versions/3.3.3/lib/ruby/gems/3.3.0/gems/activesupport-7.1.3.4/lib/active_support/cache/redis_cache_store.rb:153>, @created=0, @que=[], @max=5, @mutex=#<Thread::Mutex:0x0000000132c7faa0>, @resource=#<Thread::ConditionVariable:0x0000000132c7f988>, @shutdown_block=nil>, @key=:"pool-5280", @key_count=:"pool-5280-count">>