-
Notifications
You must be signed in to change notification settings - Fork 108
Open
Description
Hi,
I just setup my rails application using devise_async
This is my gem file looks like
gem 'sidekiq'
gem 'sinatra', require: false
gem 'devise'
gem 'devise-async'
and this is the setup on the config/initializers/devise_async.rb :
Devise::Async.setup do |config|
config.enabled = true
config.backend = :sidekiq
end
And setup for user.rb:
devise :database_authenticatable, :async, :confirmable
So I run my rails, redis-server, and sidekiq and also open the redis-cli
On the redis-cli i turn on the Monitor and i got this bunch of log, even I havent run anything like register the new user or sending email to confirm, etc from devise
127.0.0.1:6379> monitor
OK
1426128341.132424 [0 127.0.0.1:62860] "brpop" "queue:default" "1"
1426128343.040102 [0 127.0.0.1:62860] "brpop" "queue:default" "1"
1426128343.542666 [0 127.0.0.1:62865] "multi"
1426128343.542727 [0 127.0.0.1:62865] "sadd" "processes" "Rizals-MacBook-Pro.local:81122"
1426128343.542745 [0 127.0.0.1:62865] "hmset" "Rizals-MacBook-Pro.local:81122" "info" "{\"hostname\":\"Rizals-MacBook-Pro.local\",\"started_at\":1426127583.1370099,\"pid\":81122,\"tag\":\"My-Trades-Men\",\"concurrency\":25,\"queues\":[\"default\"],\"labels\":[]}" "busy" "0" "beat" "1426128343.542463"
1426128343.542805 [0 127.0.0.1:62865] "expire" "Rizals-MacBook-Pro.local:81122" "60"
1426128343.542817 [0 127.0.0.1:62865] "rpop" "Rizals-MacBook-Pro.local:81122-signals"
1426128343.542838 [0 127.0.0.1:62865] "exec"
1426128344.494052 [0 127.0.0.1:62865] "zrangebyscore" "retry" "-inf" "1426128344.493691" "LIMIT" "0" "1"
1426128344.494613 [0 127.0.0.1:62865] "zrangebyscore" "schedule" "-inf" "1426128344.493691" "LIMIT" "0" "1"
1426128345.013881 [0 127.0.0.1:62860] "brpop" "queue:default" "1"
1426128347.026389 [0 127.0.0.1:62860] "brpop" "queue:default" "1"
1426128348.543689 [0 127.0.0.1:62865] "multi"
1426128348.543784 [0 127.0.0.1:62865] "sadd" "processes" "Rizals-MacBook-Pro.local:81122"
1426128348.543810 [0 127.0.0.1:62865] "hmset" "Rizals-MacBook-Pro.local:81122" "info" "{\"hostname\":\"Rizals-MacBook-Pro.local\",\"started_at\":1426127583.1370099,\"pid\":81122,\"tag\":\"My-Trades-Men\",\"concurrency\":25,\"queues\":[\"default\"],\"labels\":[]}" "busy" "0" "beat" "1426128348.5435572"
1426128348.543862 [0 127.0.0.1:62865] "expire" "Rizals-MacBook-Pro.local:81122" "60"
1426128348.543876 [0 127.0.0.1:62865] "rpop" "Rizals-MacBook-Pro.local:81122-signals"
1426128348.543893 [0 127.0.0.1:62865] "exec"
1426128349.067366 [0 127.0.0.1:62860] "brpop" "queue:default" "1"
Does this look normal ?
Thanks
Metadata
Metadata
Assignees
Labels
No labels