# 'discourse remap' ought to notify app servers of any site settings that changed

**URL:** https://meta.discourse.org/t/discourse-remap-ought-to-notify-app-servers-of-any-site-settings-that-changed/85825
**Category:** Bug
**Created:** [20.Апрель.2018 18:26:10 UTC](https://meta.discourse.org/t/discourse-remap-ought-to-notify-app-servers-of-any-site-settings-that-changed/85825 "2018-04-20T18:26:10Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [20.Апрель.2018 18:26:10 UTC](https://meta.discourse.org/t/discourse-remap-ought-to-notify-app-servers-of-any-site-settings-that-changed/85825/1 "2018-04-20T18:26:10Z")

</div>

Currently `discourse remap X Y` does not notify app servers that a site setting changed.

It should notify the app servers if any site settings change so they can reload the new setting.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [23.Апрель.2018 00:00:04 UTC](https://meta.discourse.org/t/discourse-remap-ought-to-notify-app-servers-of-any-site-settings-that-changed/85825/2 "2018-04-23T00:00:04Z")

</div>

Because this is just so so rare, we should unconditionally trigger a site setting refresh on remap, there is probably an API for this but if not just flicking a setting from true to false to true will do the trick.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [23.Апрель.2018 07:58:04 UTC](https://meta.discourse.org/t/discourse-remap-ought-to-notify-app-servers-of-any-site-settings-that-changed/85825/3 "2018-04-23T07:58:04Z")

</div>

I agree with @sam that we should unconditionally refresh the site settings.

[https://github.com/discourse/discourse/commit/69c32a2651b1fa0a0ce3739814a00e505394c6b7](https://github.com/discourse/discourse/commit/69c32a2651b1fa0a0ce3739814a00e505394c6b7)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [23.Апрель.2018 21:33:08 UTC](https://meta.discourse.org/t/discourse-remap-ought-to-notify-app-servers-of-any-site-settings-that-changed/85825/4 "2018-04-23T21:33:08Z")

</div>


