Skip to content
This repository has been archived by the owner on Jul 30, 2019. It is now read-only.

Commit

Permalink
Schedule post-auction emails for 5 mins after auction ends
Browse files Browse the repository at this point in the history
  • Loading branch information
adelevie committed Jun 29, 2016
1 parent 4864f0d commit 4854a04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/save_auction.rb
Expand Up @@ -9,7 +9,7 @@ def perform
if should_schedule_auction_ended_job?(saved)
AuctionEnded
.new(auction)
.delay(run_at: auction.ended_at)
.delay(run_at: auction.ended_at + 5.minutes)
.perform
end

Expand Down

0 comments on commit 4854a04

Please sign in to comment.