<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -3,6 +3,7 @@ loop_sleep: 60
 watch_freq: 1
 personal_freq: 3
 admins: you@example.com
+expand: True
 
 # See the documentation for db config options:
 # http://dustin.github.com/twitterspy/dev.html</diff>
      <filename>twitterspy.conf.sample</filename>
    </modified>
    <modified>
      <diff>@@ -59,6 +59,10 @@ task.LoopingCall(moodiness.moodiness).start(60, now=False)
 task.LoopingCall(scheduling.resetRequests).start(scheduling.REQUEST_PERIOD,
                                                  now=False)
 
-# Load the url expansion services now, and refresh it every seven days.
-task.LoopingCall(url_expansion.expander.loadServices).start(86400 * 7)
+# If the expansion services are loaded, expansion will take effect
+if (config.CONF.has_option('general', 'expand')
+    and config.CONF.getboolean('general', 'expand')):
+
+    # Load the url expansion services now, and refresh it every seven days.
+    task.LoopingCall(url_expansion.expander.loadServices).start(86400 * 7)
 </diff>
      <filename>twitterspy.tac</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>753a9d52554533b96ded307a1dfeff18040d8f5e</id>
    </parent>
  </parents>
  <author>
    <name>Dustin Sallings</name>
    <email>dustin@spy.net</email>
  </author>
  <url>http://github.com/dustin/twitterspy/commit/7994d1967d69e594155ff3d989f2614f650fffca</url>
  <id>7994d1967d69e594155ff3d989f2614f650fffca</id>
  <committed-date>2009-03-07T16:51:37-08:00</committed-date>
  <authored-date>2009-03-07T16:51:37-08:00</authored-date>
  <message>Make URL expansion configurable.</message>
  <tree>4c7d2d8919190d355fc2e0498bc90b5ad4d3dcad</tree>
  <committer>
    <name>Dustin Sallings</name>
    <email>dustin@spy.net</email>
  </committer>
</commit>
