# Don't trigger digests on migration?

**URL:** <https://meta.discourse.org/t/dont-trigger-digests-on-migration/26345>\
**Category:** Migration\
**Tags:** activity-summary\
**Created:** [3월 15, 2015, 7:00오전 UTC](https://meta.discourse.org/t/dont-trigger-digests-on-migration/26345 "2015-03-15T07:00:29Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)\
**Post date:** [3월 16, 2015, 9:04오후 UTC](https://meta.discourse.org/t/dont-trigger-digests-on-migration/26345/6 "2015-03-16T21:04:35Z")

</div>

I don’t run imports on production servers with sidekiq running, emails being sent, etc. You definitely want to see what the imported data looks like before going into production with it. Every import is a special snowflake with its own surprises and requirements.

If you are running an import onto a live production site, disable emails in settings, or add this to the initialize method of your script:

```plaintext
SiteSetting.disable_emails = true

```

and you’ll probably have [other setting you’ll want to change](https://github.com/discourse/discourse/blob/master/script/import_scripts/ning.rb#L22).

---

_[View the full topic](https://meta.discourse.org/t/dont-trigger-digests-on-migration/26345)._
