Reduce story save time, increase status check time, add notice about quotas.

This commit is contained in:
Jim Miller 2011-11-08 12:50:45 -06:00
parent 2cd89b2e55
commit 1cf87eae3a
3 changed files with 21 additions and 7 deletions

View file

@ -53,13 +53,27 @@
<p>Hi, {{ nickname }}! This is a fan fiction downloader, which makes reading stories from various websites
much easier. </p>
</div>
<!-- put announcements here, h3 is a good title size.
<!-- put announcements here, h3 is a good title size. -->
<h3>New Google Quotas</h3>
<p>
<b>New Site:</b> Now supporting fimfiction.net. Many
thanks to our latest developer, althaine, for this new
adapter.
Google has changed their quota limits for free
applications using their AppEngine system, like this one.
</p>
<p>
We're immediately reducing how long the system keeps
downloaded stories to 3 days to address this in part.
</p>
<p>
However, we expect that there will be times when the
system exceeds it's permitted processing quota. We're
looking at ways to make the system more efficient, but
there will be issues for a while.
</p>
<p>
You also have the option of running the downloader on your
own computer if you have Python available.
<a href="http://code.google.com/p/fanficdownloader/downloads/list">Download here.</a>
</p>
-->
<p>
If you have any problems with this application, please
report them in

View file

@ -6,7 +6,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="google-site-verification" content="kCFc-G4bka_pJN6Rv8CapPBcwmq0hbAUZPkKWqRsAYU" />
{% if not fic.completed and not fic.failure %}
<meta http-equiv="refresh" content="7">
<meta http-equiv="refresh" content="10">
{% endif %}
<script type="text/javascript">

View file

@ -38,7 +38,7 @@ class Remover(webapp.RequestHandler):
logging.debug("Starting r3m0v3r")
user = users.get_current_user()
logging.debug("Working as user %s" % user)
theDate = datetime.datetime.now() - datetime.timedelta(days=6) # days=7
theDate = datetime.datetime.now() - datetime.timedelta(days=3)
logging.debug("Will delete stuff older than %s" % theDate)
fics = DownloadMeta.all()