Skip to content
This repository
Newer
Older
100644 487 lines (423 sloc) 15.318 kb
abe385cc »
2012-03-16 Add note to top of generated ini files
1 # DO NOT EDIT THIS FILE
2 # This is a base template. To apply changes to your
3 # reddit instance, create a "myreddit.update" config
4 # file, then run 'make ini'. 'make ini' will combine
5 # this template with the myreddit.update file and create a
6 # 'myreddit.ini'. ('myreddit.update' is just an example;
7 # any name will do - e.g., 'foo.update' will create
8 # 'foo.ini')
9
10
4778b17e »
2008-06-17 initial checkin
11 #
12 # r2 - Pylons development environment configuration
13 #
14 # The %(here)s variable will be replaced with the parent directory of this file
15 #
16 [DEFAULT]
e6838895 »
2010-05-17 New Features
17
18 # -- debug and configuation flags --
19 # global debug flag -- displays pylons stacktrace rather than 500 page on error when true
4778b17e »
2008-06-17 initial checkin
20 debug = true
8b5cad86 »
2012-01-25 Move toggle for template caching into its own .ini flag.
21 # enables/disables whitespace removal (for development)
22 template_debug = false
23 # enables/disables compiled template caching and template file mtime checking
24 reload_templates = true
e6838895 »
2010-05-17 New Features
25 # use uncompressed static files (out of /static/js and /static/css)
26 # rather than compressed files out of /static (for development if true)
4778b17e »
2008-06-17 initial checkin
27 uncompressedJS = true
e6838895 »
2010-05-17 New Features
28 # enable/disable verbose SQL printing
9813d947 »
2009-04-29 Make reddit compatible with Postgres 8.3 and Python 2.6
29 sqlprinting = false
e6838895 »
2010-05-17 New Features
30 # enable/disable writing errors as they occur to a rabbit-mq queue
a402d48d »
2010-05-03 New features:
31 exception_logging = false
e6838895 »
2010-05-17 New Features
32 # whether to print a "reddit app started" message at start"
5ef76b96 »
2010-05-03 New features:
33 log_start = true
e6838895 »
2010-05-17 New Features
34 # enable/disable logging for amqp/rabbitmq
35 amqp_logging = false
253c4730 »
2010-05-17 * Add services and scripts to public repos for ease of reddit instal…
36 # emergency measures: makes the site read only
37 read_only_mode = false
68a06c56 »
2011-04-14 April 2011 Merge
38 # global switch for wiki write permissions
39 allow_wiki_editing = true
4758ac8d »
2011-07-22 Make read-only mode slightly less frustrating.
40 # a modified read only mode used for cache shown during heavy load 503s
41 heavy_load_mode = false
41692267 »
2012-07-22 Make profiling transparent and aggregatable.
42 # directory to write cProfile stats dumps to (disabled if not set)
43 profile_directory =
253c4730 »
2010-05-17 * Add services and scripts to public repos for ease of reddit instal…
44
0cf053f4 »
2011-10-08 Add blank announcement_message to example.ini.
45 # a message placed in the infobar
46 announcement_message =
a86261f3 »
2011-08-08 Add a contextual description metatag for scrapers.
47 # the site's tagline, used in the title and description
48 short_description = open source is awesome
49
e6838895 »
2010-05-17 New Features
50 # -- SECRETS! <-- update these first! --
51 # global secret
52 SECRET = abcdefghijklmnopqrstuvwxyz0123456789
53 # secret for making the modhash
54 MODSECRET = abcdefghijklmnopqrstuvwxyz0123456789
55 # secret for /prefs/feeds
56 FEEDSECRET = abcdefghijklmnopqrstuvwxyz0123456789
5721e468 »
2011-09-15 Add validator that checks a secret key or admin cookie.
57 # used for authenticating admin API calls w/o cookie
58 ADMINSECRET = abcdefghijklmnopqrstuvwxyz0123456789
5ef76b96 »
2010-05-03 New features:
59
c209cc2f »
2012-03-07 Switch to cloudsearch as primary search provider
60 CLOUDSEARCH_SEARCH_API =
61 CLOUDSEARCH_DOC_API =
213dd1e0 »
2012-06-14 Add CLOUDSEARCH_SUBREDDIT endpoints to example.ini
62 CLOUDSEARCH_SUBREDDIT_SEARCH_API =
63 CLOUDSEARCH_SUBREDDIT_DOC_API =
7fff900b »
2011-02-23 February 2011 Merge
64
d411cd55 »
2010-11-06 Added support for disabling adds via config file
65 # -- feature toggles --
66 disable_ads = false
92fdd422 »
2011-05-16 Added option to disable captcha verification
67 disable_captcha = false
1ecb427f »
2011-08-10 Add an option to disable rate limiting. For testing.
68 disable_ratelimit = false
d411cd55 »
2010-11-06 Added support for disabling adds via config file
69
e6838895 »
2010-05-17 New Features
70 # -- important settings --
71 # the domain that this app serves itself up as
7fff900b »
2011-02-23 February 2011 Merge
72 domain = reddit.local
68a06c56 »
2011-04-14 April 2011 Merge
73 # the short domain (like redd.it)
74 shortdomain =
e6838895 »
2010-05-17 New Features
75 # if you use www for the old-timey feel, put it here
76 domain_prefix =
7118bde4 »
2012-06-27 Turn CNAMEs into a simple redirect.
77 # subdomains that don't need special processing
78 reserved_subdomains = www, ssl
e6838895 »
2010-05-17 New Features
79 # the user used for "system" operations and messages
80 system_user = reddit
81 # list of admin accounts
82 admins = reddit
83 # the default subreddit for submissions
84 default_sr = reddit.com
e6178bed »
2011-05-16 Make default header image URL configurable.
85 # default header image url
50a5daa6 »
2011-10-19 Allow static files to be served from other domains.
86 default_header_url = reddit.com.header.png
e6838895 »
2010-05-17 New Features
87
88 # time for the page cache (for unlogged in users)
89 page_cache_time = 90
90
91 # default localization for strings (when using python's locale.format)
92 locale = C
93 # default site language (two letter character code)
94 lang = en
c280c6ac »
2011-09-20 Fix handling of an unset language override.
95 lang_override =
e7b672d6 »
2012-01-20 Replace proxy_addr with option to trust proxies in 10.0.0.0/8.
96 # if your webserver is a proxy and on a different instance on the same 10.0.0.0/8 network
97 # set X-forwarded-for and set this to true
98 trust_local_proxies = false
e6838895 »
2010-05-17 New Features
99 # hash for validating HTTP_TRUE_CLIENT_IP_HASH
100 ip_hash =
101 # timezone for storing
102 timezone = UTC
103 # timezone for the database
104 display_timezone = MST
105 # secret key for accessing /shutdown
106 shutdown_secret = 12345
b8477570 »
2011-10-06 Use cross domain https for slightly safer login.
107 # https api endpoint (must be g.domain or a subdomain of g.domain)
108 https_endpoint =
e6838895 »
2010-05-17 New Features
109 # name of the cookie to drop with login information
110 login_cookie = reddit_session
33b15bc2 »
2012-03-12 Split the admin cookie out from the session cookie.
111 # name of the admin cookie
112 admin_cookie = reddit_admin
8dfd73b1 »
2012-07-22 Add framework for RFC-6238: Time-Based One Time Password Algorithm.
113 # name of the otp cookie
114 otp_cookie = reddit_otp
a311805c »
2011-10-20 Switch to bcrypt for password hashing.
115 # the work factor for bcrypt, increment this every time computers double in
116 # speed. don't worry, changing this won't break old passwords
117 bcrypt_work_factor = 12
e6838895 »
2010-05-17 New Features
118
119 # fraction of requests to pass into the queue-based usage sampler
120 usage_sampling = 0.
4778b17e »
2008-06-17 initial checkin
121
e6838895 »
2010-05-17 New Features
122 # account used for default feedback messaging (can be #subreddit)
123 admin_message_acct = reddit
124
125
126 # -- caching options --
127 # data cache (used for caching Thing objects)
128 num_mc_clients = 5
4778b17e »
2008-06-17 initial checkin
129 memcaches = 127.0.0.1:11211
ab039b47 »
2012-05-21 Use a different set of memcaches for locking.
130 # caches to use for locking
131 lockcaches = 127.0.0.1:11211
7fff900b »
2011-02-23 February 2011 Merge
132 stalecaches =
e6838895 »
2010-05-17 New Features
133 # render caches (the second is "remote" and the local is optional but in the same format)
134 local_rendercache =
ae6ba7a7 »
2008-12-16 added a separate set of memcaches for the render cache
135 rendercaches = 127.0.0.1:11211
bf9f43cc »
2009-12-01 Messaging/commenting
136
67814d54 »
2010-05-03 Features:
137 # -- permacache options --
138 # permacache is memcaches -> cassanda -> memcachedb
139 # memcaches that sit in front of cassandra
140 permacache_memcaches = 127.0.0.1:11211
141 # cassandra hosts. one of these will be chosen at random by pycassa
9a4271f6 »
2010-06-15 Upgrade Instructions
142 cassandra_seeds = 127.0.0.1:9160
fcd3f3bb »
2012-02-02 Make cassandra connection pool size configurable.
143 # number of connections to keep open to the cassandra ring
144 cassandra_pool_size = 5
0ae8f2fb »
2010-07-21 21 Jul 2010 merge
145 # read/write consistency levels for Cassandra
146 cassandra_rcl = ONE
7fff900b »
2011-02-23 February 2011 Merge
147 cassandra_wcl = ONE
532be3fe »
2011-11-30 Allow Cassandra models to choose a connection pool.
148 # name of default connection pool to use when _connection_pool not specified
149 cassandra_default_pool = main
bf9f43cc »
2009-12-01 Messaging/commenting
150
e6838895 »
2010-05-17 New Features
151 # -- url cache options --
152 url_caches = 127.0.0.1:11211
153 # cassandra hosts. one of these will be chosen at random by pycassa
154 url_seeds =
155
156
157 # caches for storing number of times a link is rendered
158 incr_cache = udp:localhost:11211
159 incr_caches = localhost:11211
160 # recommender cache (depricated)
161 rec_cache = 127.0.0.1:11211
162
163 ## -- traffic tracking urls --
93a65a6a »
2011-10-03 Move onload out of the app.
164 # domain to send tracking requests (see scripts/tracker.py)
165 tracking_domain = reddit.local
e6838895 »
2010-05-17 New Features
166 # image to render to track pageviews
167 tracker_url = /static/pixel.png
168 # images to render to track sponsored links
169 adtracker_url = /static/pixel.png
170 # image to render to track the ad frame
171 adframetracker_url = http://pixel.reddit.com/pixel/of_defenestration.png
172 # open redirector to bounce clicks off of on sponsored links for tracking
173 clicktracker_url = /static/pixel.png
7fff900b »
2011-02-23 February 2011 Merge
174 # new pixel
175 newtracker_url =
e6838895 »
2010-05-17 New Features
176
177 # amqp
bf9f43cc »
2009-12-01 Messaging/commenting
178 amqp_host = localhost:5672
e6838895 »
2010-05-17 New Features
179 amqp_user = reddit
180 amqp_pass = reddit
bf9f43cc »
2009-12-01 Messaging/commenting
181 amqp_virtual_host = /
182
e6838895 »
2010-05-17 New Features
183 ## -- database setup --
184 # list of all databases named in the subsequent table
9cd5fed5 »
2012-07-14 Add traffic to example.ini.
185 databases = main, comment, vote, email, authorize, award, hc, traffic
2a5f891a »
2009-01-28 Moved database configuration from databases.py to the ini.
186
7fff900b »
2011-02-23 February 2011 Merge
187 db_user = reddit
188 db_pass = password
189 db_port = 5432
190 db_pool_size = 3
191 db_pool_overflow_size = 3
192
193 #db name db host user, pass, port, conn, overflow_conn
194 main_db = reddit, 127.0.0.1, *, *, *, *, *
195 comment_db = reddit, 127.0.0.1, *, *, *, *, *
196 comment2_db = reddit, 127.0.0.1, *, *, *, *, *
197 vote_db = reddit, 127.0.0.1, *, *, *, *, *
198 email_db = reddit, 127.0.0.1, *, *, *, *, *
199 authorize_db = reddit, 127.0.0.1, *, *, *, *, *
200 award_db = reddit, 127.0.0.1, *, *, *, *, *
201 hc_db = reddit, 127.0.0.1, *, *, *, *, *
9cd5fed5 »
2012-07-14 Add traffic to example.ini.
202 traffic_db = reddit, 127.0.0.1, *, *, *, *, *
e6838895 »
2010-05-17 New Features
203
7fff900b »
2011-02-23 February 2011 Merge
204 hardcache_categories = *:hc:hc
37e2ba98 »
2010-10-18 * Combine cassandra clusters into a single one
205
e6838895 »
2010-05-17 New Features
206 # this setting will prefix all of the table names
2a5f891a »
2009-01-28 Moved database configuration from databases.py to the ini.
207 db_app_name = reddit
e6838895 »
2010-05-17 New Features
208 # are we allowed to create tables?
2a5f891a »
2009-01-28 Moved database configuration from databases.py to the ini.
209 db_create_tables = True
9f0ec951 »
2012-03-02 Split table definitions from db configuration.
210 # are we allowed to write at all?
211 disallow_db_writes = False
2a5f891a »
2009-01-28 Moved database configuration from databases.py to the ini.
212
213 type_db = main
214 rel_type_db = main
5ef76b96 »
2010-05-03 New features:
215 hardcache_db = main
2a5f891a »
2009-01-28 Moved database configuration from databases.py to the ini.
216
9f0ec951 »
2012-03-02 Split table definitions from db configuration.
217 # definitions of what each table is (probably shouldn't change in .update files)
218 # things require no extra info. relation is followed by the names of the related tables
219 db_table_link = thing
220 db_table_account = thing
221 db_table_message = thing
222 db_table_savehide = relation, account, link
223 db_table_click = relation, account, link
224 db_table_comment = thing
225 db_table_subreddit = thing
226 db_table_srmember = relation, subreddit, account
227 db_table_friend = relation, account, account
228 db_table_vote_account_link = relation, account, link
229 db_table_vote_account_comment = relation, account, comment
230 db_table_inbox_account_comment = relation, account, comment
231 db_table_inbox_account_message = relation, account, message
232 db_table_moderatorinbox = relation, subreddit, message
233 db_table_report_account_link = relation, account, link
234 db_table_report_account_comment = relation, account, comment
235 db_table_report_account_message = relation, account, message
236 db_table_report_account_subreddit = relation, account, subreddit
237 db_table_award = thing
238 db_table_trophy = relation, account, award
239 db_table_jury_account_link = relation, account, link
240 db_table_ad = thing
241 db_table_adsr = relation, ad, subreddit
242 db_table_flair = relation, subreddit, account
09dbd494 »
2012-05-24 Update config with new promocampaign thing table
243 db_table_promocampaign = thing
9f0ec951 »
2012-03-02 Split table definitions from db configuration.
244
245 # which servers to find each table on (likely to change in .update files)
246 # first server listed is assumed to be the master, all others are read-only slaves
247 # additionally, a "!avoid_master" flag may be added to specify that reads should use the slaves
248 db_servers_link = main, main
249 db_servers_account = main
250 db_servers_message = main
251 db_servers_savehide = main
252 db_servers_click = main
253 db_servers_comment = comment
254 db_servers_subreddit = comment
255 db_servers_srmember = comment
256 db_servers_friend = comment
257 db_servers_vote_account_link = vote
258 db_servers_vote_account_comment = vote
259 db_servers_inbox_account_comment = main
260 db_servers_inbox_account_message = main
261 db_servers_moderatorinbox = main
262 db_servers_report_account_link = main
263 db_servers_report_account_comment = comment
264 db_servers_report_account_message = main
265 db_servers_report_account_subreddit = main
266 db_servers_award = award
267 db_servers_trophy = award
268 db_servers_jury_account_link = main
269 db_servers_ad = main
270 db_servers_adsr = main
271 db_servers_flair = main
09dbd494 »
2012-05-24 Update config with new promocampaign thing table
272 db_servers_promocampaign = main
1861a04e »
2008-08-22 fixed sorting issue where the global sorts were being overwritten. ad…
273
e6838895 »
2010-05-17 New Features
274
275 ## -- traffic analytics --
276 # google analytics token
277 googleanalytics =
278 # machine to get traffic metrics from
279 traffic_url = http://localhost:8010/tracker/pickle/
280 # secret used for talking to the traffic machine
281 tracking_secret = abcdefghijklmnopqrstuvwxyz0123456789
282
283
284 ## -- Self-service sponsored link stuff --
285 # (secure) payment domain
172f869e »
2011-11-08 Add an example subdomain for payment_domain in example.ini.
286 payment_domain = https://pay.reddit.local/
7fff900b »
2011-02-23 February 2011 Merge
287 ad_domain = http://reddit.local
288 allowed_pay_countries = United States, United Kingdom, Canada
253c4730 »
2010-05-17 * Add services and scripts to public repos for ease of reddit instal…
289 sponsors =
7fff900b »
2011-02-23 February 2011 Merge
290
291 # authorize.net credentials (blank authorizenetapi to disable)
292 authorizenetapi =
293 # authorizenetapi = https://api.authorize.net/xml/v1/request.api
e6838895 »
2010-05-17 New Features
294 authorizenetname =
295 authorizenetkey =
7fff900b »
2011-02-23 February 2011 Merge
296
e6838895 »
2010-05-17 New Features
297 min_promote_bid = 20
298 max_promote_bid = 9999
299 min_promote_future = 2
300
301 # -- spreadshirt --
302 spreadshirt_url =
303 spreadshirt_vendor_id =
304 spreadshirt_min_font = 42
305 spreadshirt_max_width = 620
306 spreadshirt_test_font =
307
308
4778b17e »
2008-06-17 initial checkin
309 ###
310 # Other magic settings
311 ###
312
e6838895 »
2010-05-17 New Features
313 # list of cnames allowed to render as reddit.com without a frame
314 authorized_cnames =
4778b17e »
2008-06-17 initial checkin
315
e6838895 »
2010-05-17 New Features
316 # -- query cache settings --
317 num_query_queue_workers = 5
318 query_queue_worker = http://cslowe.local:8000
319 enable_doquery = True
7fff900b »
2011-02-23 February 2011 Merge
320 use_query_cache = True
e6838895 »
2010-05-17 New Features
321 write_query_queue = True
fbe867ef »
2012-01-30 Implement new lockless query cache.
322 querycache_prune_chance = 0.05
1861a04e »
2008-08-22 fixed sorting issue where the global sorts were being overwritten. ad…
323
e6838895 »
2010-05-17 New Features
324 # -- stylesheet editor --
325 # disable custom stylesheets
326 css_killswitch = False
327 # list of "trusted" domains that can be referenced in url()
328 allowed_css_linked_domains = static.reddit.com, www.reddit.com, reallystatic.reddit.com
329 # max number of uploaded images per subreddit
330 max_sr_images = 50
331 # default stylesheet and it's rtl version
4778b17e »
2008-06-17 initial checkin
332 stylesheet = reddit.css
e6838895 »
2010-05-17 New Features
333 stylesheet_rtl = reddit-rtl.css
334 # location of the static directory
335 static_path = /static/
50a5daa6 »
2011-10-19 Allow static files to be served from other domains.
336 # if set, these are the domains used for static files served over http and https
337 # if not set, no domain will be specified
338 static_domain =
339 static_secure_domain =
340 # if this is true, append .gz to CSS and JS files served from the static domain
341 # this is for hosts that don't do on-the-fly gzipping (e.g. s3)
342 static_pre_gzipped = false
343 static_secure_pre_gzipped = false
4778b17e »
2008-06-17 initial checkin
344
7fff900b »
2011-02-23 February 2011 Merge
345 # make frontpage 100% dart
346 frontpage_dart = false
347
e6838895 »
2010-05-17 New Features
348 # -- translator UI --
349 # enable/disable access to the translation UI in /admin/i18n
350 translator = true
351 # reddit runs the translator UI on a different instance with a
352 # password to login. These settings are used when generating messages
353 # to translators to tell them their credentials
354 translator_username =
355 translator_password =
6bcef003 »
2008-08-26 1. Allow a reddit to have a cname, like www.proggit.com, that renders
356
e6838895 »
2010-05-17 New Features
357 # subreddit used for DMCA takedowns
5ef76b96 »
2010-05-03 New features:
358 takedown_sr = _takedowns
e6838895 »
2010-05-17 New Features
359 # png compressor
360 png_optimizer = /usr/bin/env optipng
f5b6839a »
2012-06-01 Losslessly optimize JPEGs.
361 # jpeg compressor
362 jpeg_optimizer =
4778b17e »
2008-06-17 initial checkin
363
e6838895 »
2010-05-17 New Features
364 # Just a list of words. Used by errlog.py to make up names for new errors.
365 words_file = /usr/dict/words
2869eaf8 »
2010-05-03 New features:
366
e6838895 »
2010-05-17 New Features
367 # -- media stuff --
368 # user agent for the scraper
369 useragent = Mozilla/5.0 (compatible; redditbot/1.0; +http://www.reddit.com/feedback)
4653c16a »
2011-10-25 Split thumbnails and sr images across multiple buckets.
370
371 # The storage method to use for media
372 # Options:
373 # s3 - Uses Amazon S3 to upload media to buckets
374 media_store = s3
375
e6838895 »
2010-05-17 New Features
376 # your s3 credentials
377 S3KEY_ID =
378 S3SECRET_KEY =
4653c16a »
2011-10-25 Split thumbnails and sr images across multiple buckets.
379
380 # This bucket is used for old media, new installs may leave this blank
381 s3_old_thumb_bucket =
382
383 # May be one bucket, or many buckets seperated by commas
384 s3_media_buckets =
385
386 # Store direct urls for images, rather than buckets
387 # For the bucket mybucket with the image helloworld.jpg the stored url would be:
388 # true: http://s3.amazonaws.com/mybucket/helloworld.jpg
389 # false: http://mybucket/helloworld.jpg
390 s3_media_direct = true
391
e6838895 »
2010-05-17 New Features
392 media_domain = localhost
4b9fee79 »
2011-08-02 Use an API key for the embed.ly API.
393 # Embedly API Key
394 embedly_api_key =
4778b17e »
2008-06-17 initial checkin
395
e6838895 »
2010-05-17 New Features
396 # -- limits --
397 # rate limiter duration (minutes)
398 RATELIMIT = 10
399 # minimum display karma
400 MIN_UP_KARMA = 1
401 MIN_RATE_LIMIT_KARMA = 10
402 MIN_RATE_LIMIT_COMMENT_KARMA = 1
403 QUOTA_THRESHOLD = 5
0ae8f2fb »
2010-07-21 21 Jul 2010 merge
404 # Links and comments older than this many days qualify for historic preservation
405 REPLY_AGE_LIMIT = 180
68a06c56 »
2011-04-14 April 2011 Merge
406 # Links and comments older than this many days can't be voted on
407 VOTE_AGE_LIMIT = 180
63d518f4 »
2010-11-06 Make min age for subreddit creation configurable.
408 # minimum age, in days, of an account to be eligible to create a community
409 min_membership_create_community = 30
a42505c5 »
2012-03-14 Keep admin cookie around if actively used.
410 # the maximum life of an admin cookie (seconds)
411 ADMIN_COOKIE_TTL = 32400
412 # the maximum amount of idle time for an admin cookie (seconds)
413 ADMIN_COOKIE_MAX_IDLE = 900
8dfd73b1 »
2012-07-22 Add framework for RFC-6238: Time-Based One Time Password Algorithm.
414 # the maximum life of an otp cookie
415 OTP_COOKIE_TTL = 604800
4778b17e »
2008-06-17 initial checkin
416
e6838895 »
2010-05-17 New Features
417 # min amount of karma to edit
418 WIKI_KARMA = 100
2de837f5 »
2009-05-06 New help system and footer
419
4778b17e »
2008-06-17 initial checkin
420 # time in days
421 MODWINDOW = 2
e6838895 »
2010-05-17 New Features
422 HOT_PAGE_AGE = 1000
4778b17e »
2008-06-17 initial checkin
423
e6838895 »
2010-05-17 New Features
424 # -- display options --
425 # how long to consider links eligible for the rising page
bcca862e »
2008-07-02 add media features
426 rising_period = 12 hours
e6838895 »
2010-05-17 New Features
427 # max number of comments (default)
37e2ba98 »
2010-10-18 * Combine cassandra clusters into a single one
428 num_comments = 100
429 # max number of comments (non-gold)
4778b17e »
2008-06-17 initial checkin
430 max_comments = 500
37e2ba98 »
2010-10-18 * Combine cassandra clusters into a single one
431 # max number of comments (gold)
432 max_comments_gold = 2500
e6838895 »
2010-05-17 New Features
433 # list of reddits to auto-subscribe users to
434 automatic_reddits =
0ae8f2fb »
2010-07-21 21 Jul 2010 merge
435 # special reddit that only reddit gold subscribers can use
436 lounge_reddit =
e6838895 »
2010-05-17 New Features
437 # cutoff number of reddits to show unsubscribed users
0745f5bf »
2009-05-13 make 1/2 of the default reddits English reddits if the user hasn't se…
438 num_default_reddits = 10
e6838895 »
2010-05-17 New Features
439 # how deep do we go into the top listing when fetching /random
440 num_serendipity = 250
852b989f »
2009-07-16 srbar updates
441 sr_dropdown_threshold = 15
4778b17e »
2008-06-17 initial checkin
442
37e2ba98 »
2010-10-18 * Combine cassandra clusters into a single one
443 # Conflate visits to a comment page that happen within this many
444 # seconds of each other
445 comment_visits_period = 600
446
e6838895 »
2010-05-17 New Features
447 #user-agents to rate-limit
4778b17e »
2008-06-17 initial checkin
448 agents =
a8d55dd7 »
2012-04-27 Set ratelimits on subreddits
449 # subreddit ratelimits
450 sr_banned_quota = 10000
451 sr_moderator_quota = 10000
452 sr_contributor_quota = 10000
453 sr_quota_time = 7200
4778b17e »
2008-06-17 initial checkin
454
e6838895 »
2010-05-17 New Features
455 # -- email --
456 # smtp server
457 smtp_server = localhost
458 # delay before allowing a link to be shared
459 new_link_share_delay = 30 seconds
460 # alerter emails
461 nerds_email = nerds@reddit.com
462 # share reply email
463 share_reply = noreply@reddit.com
464 # feedback email
465 feedback_email = reddit@gmail.com
7ce107f2 »
2008-07-17 sharing
466
51bcbfbc »
2011-06-16 Method _key_from_url() now returns case sensitive results for special…
467 # Special case sensitive domains
468 case_sensitive_domains = i.imgur.com, youtube.com
469
4778b17e »
2008-06-17 initial checkin
470 [server:main]
471 use = egg:Paste#http
472 host = 0.0.0.0
e6838895 »
2010-05-17 New Features
473 port = %(http_port)s
4778b17e »
2008-06-17 initial checkin
474
475 [app:main]
476 use = egg:r2
477 cache_dir = %(here)s/data
478 beaker.session_key = r2
479 beaker.session_secret = somesecret
480 #lang = en
481
482 # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
483 # Debug mode will enable the interactive debugging tool, allowing ANYONE to
484 # execute malicious code after an exception is raised.
0ae8f2fb »
2010-07-21 21 Jul 2010 merge
485 #set debug = false
4778b17e »
2008-06-17 initial checkin
486
Something went wrong with that request. Please try again.