Skip to content

Commit

Permalink
feat: migrate badge gifting tasks to cron-like jobs (#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruilopesm authored Jan 26, 2024
1 parent 2d60e44 commit 996fef6
Show file tree
Hide file tree
Showing 18 changed files with 423 additions and 566 deletions.
5 changes: 5 additions & 0 deletions config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ config :safira, Safira.Mailer,
recv_timeout: :timer.minutes(1)
]

config :elixir, :time_zone_database, Tzdata.TimeZoneDatabase

# Cron-like jobs
config :quantum, Safira.JobScheduler, timezone: "Europe/Lisbon"

# Import environment specific config. This must remain at the bottom
# of this file so it overrides the configuration defined above.
import_config "#{Mix.env()}.exs"
53 changes: 0 additions & 53 deletions lib/mix/tasks/gift.all_gold.badge.ex

This file was deleted.

53 changes: 0 additions & 53 deletions lib/mix/tasks/gift.badge.full.participation.ex

This file was deleted.

56 changes: 0 additions & 56 deletions lib/mix/tasks/gift.badge.participation.ex

This file was deleted.

112 changes: 0 additions & 112 deletions lib/mix/tasks/gift.checkpoint.badge.ex

This file was deleted.

109 changes: 0 additions & 109 deletions lib/mix/tasks/gift.checkpoint.badge.quantity.ex

This file was deleted.

Loading

0 comments on commit 996fef6

Please sign in to comment.