mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 18:01:36 +03:00
bdaddd1a64
Because there is no guarantee about a daily job running exactly once a day, we need to store the last time that the email was sent, so that we can refrain from sending one if it's been less than a day since the last. A setting has been used for this as we don't currently have a pattern for it, we might want to consider moving this to some kind of cache based solution in future. This has been added as a core setting so that we don't expose it via the API. The setting is stored as a number to allow us to store value as unix timestamp. --------- Co-authored-by: Rishabh <zrishabhgarg@gmail.com> |
||
---|---|---|
.. | ||
base | ||
model_member_stripe_customer.test.js | ||
model_members.test.js | ||
model_posts.test.js | ||
model_settings.test.js | ||
model_stripe_customer_subscription.test.js | ||
model_users.test.js |