sidekiq 中 perform_in 和 perform_async 有什么区别?
What is difference between perform_in and perform_async in sidekiq?
我想用新的时间间隔更新旧的 sidekiq 作业。我该怎么做?是否可以通过 perform_in
选项。另外我想知道 perform_in
和 perform_async
之间的明显区别。
你必须通过 perform_in
一次。 perform_async
立即被推入队列。除此之外,它们是相同的。你会打电话给 perform_in(10.minutes)
我想用新的时间间隔更新旧的 sidekiq 作业。我该怎么做?是否可以通过 perform_in
选项。另外我想知道 perform_in
和 perform_async
之间的明显区别。
你必须通过 perform_in
一次。 perform_async
立即被推入队列。除此之外,它们是相同的。你会打电话给 perform_in(10.minutes)