What is the difference between sidekiq perform and perform_async?

When UserMailer.new.perform starts UserMailer.new.perform my mail program is sent and I receive an email almost immediately, but when I use UserMailer.perform_async , it discards the object number and I never receive an email.

Can someone please tell me why this is happening and what is the difference between the two methods?

+5
source share

Source: https://habr.com/ru/post/1239811/


All Articles