Skip to content

Business intelligence made simple

Better config

Andrew5327299b38ed
diff --git a/lib/generators/blazer/templates/config.yml b/lib/generators/blazer/templates/config.yml
index 79113189..89668524 100644
--- a/lib/generators/blazer/templates/config.yml
+++ b/lib/generators/blazer/templates/config.yml
@@ -4,7 +4,20 @@ data_sources:
main:
url: <%%= ENV["BLAZER_DATABASE_URL"] %>
- # timeout: 15 # applies to PostgreSQL only
+ # statement timeout, in seconds
+ # applies to PostgreSQL only
+ # none by default
+ # timeout: 15
+
+ # time to cache results, in minutes
+ # can greatly improve speed
+ # none by default
+ # cache: 60
+
+ # wrap queries in a transaction for safety
+ # not necessary if you use a read-only user
+ # true by default
+ # use_transaction: false
smart_variables:
# zone_id: "SELECT id, name FROM zones ORDER BY name ASC"
@@ -26,3 +39,6 @@ audit: true
# method name for the user model
# user_name: name
+
+# email to send checks from
+# from_email: [email protected]