summaryrefslogtreecommitdiffstats
path: root/site.h.in
diff options
context:
space:
mode:
authorJeff Darcy <jdarcy@fb.com>2018-01-25 06:52:32 -0800
committerAmar Tumballi <amarts@redhat.com>2018-01-30 03:51:57 +0000
commit9bbee1c2bc91d194d7470dfe2351b7d8c7abe102 (patch)
treef748376ff9adf1ab14db7558516bcdacf83dba3e /site.h.in
parent3e78ea991b213422fc423ff94994e1eb295569c7 (diff)
core: add some examples of site.h usage
Change-Id: I6ce574a593eda8f3a6b2fc8969b5edf7c250b61c Signed-off-by: Jeff Darcy <jdarcy@fb.com>
Diffstat (limited to 'site.h.in')
-rw-r--r--site.h.in23
1 files changed, 20 insertions, 3 deletions
diff --git a/site.h.in b/site.h.in
index d917d78e59b..eb2f062e60c 100644
--- a/site.h.in
+++ b/site.h.in
@@ -20,8 +20,25 @@
* what works.
*/
+#define SITE_H_ENABLE_LEAST_PRIORITY "on"
+#define SITE_H_MD_CACHE_TIMEOUT "1"
+#define SITE_H_NFS_DISABLE "on"
+
/*
- * This is just an example, and a way to check whether site.h is actually being
- * included automatically.
+ * As an example of how to use this file, here's what the Facebook version looks
+ * like:
+
+#define SITE_H_ENABLE_LEAST_PRIORITY "off"
+#define SITE_H_MD_CACHE_TIMEOUT "180"
+#define SITE_H_NFS_DISABLE "off"
+
+ * Each time we add a value here, we lessen the risk of values being
+ * inconsistent across production automation, test automation, and manual
+ * developer testing. We also save effort compared to updating values for each
+ * kind of external automation. To do the same thing with configure scripts or
+ * specfiles, we'd have to make much more complicated and less discoverable
+ * changes there.
+ *
+ * Other orgs are likely to have the same issues regarding their preferred
+ * settings, and likewise should add their favorites here as well.
*/
-#define SITE_DOT_H_TEST 9987