From d964debb5a3e0814c1b3249bcc4616742e85bae5 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Tue, 21 Jul 2015 14:26:19 +0000 Subject: fixed a couple typos and bugs --- app/blog/models.py | 1 - config/django.ini | 7 ++++--- design/templates/archives/homepage.html | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/blog/models.py b/app/blog/models.py index 8e85bfe..03fb306 100644 --- a/app/blog/models.py +++ b/app/blog/models.py @@ -27,7 +27,6 @@ def extract_images(s): soup = BeautifulSoup(s) imgs = [] for img in soup.find_all('img'): - print(img['src']) imgs.append(img['src']) return imgs diff --git a/config/django.ini b/config/django.ini index 328de80..9fbe980 100644 --- a/config/django.ini +++ b/config/django.ini @@ -2,8 +2,9 @@ [uwsgi] # maximum number of processes -processes = 3 - +processes = 4 +max-requests = 5000 +enable-threads = true # the socket (use the full path to be safe) uid = www-data gid = www-data @@ -21,7 +22,7 @@ module =config.wsgi # the virtualenv home = /home/lxf/apps/luxagraf/venv -buffer-size =32768 +buffer-size =65535 plugin=python limit-as = 2048 # clear environment on exit diff --git a/design/templates/archives/homepage.html b/design/templates/archives/homepage.html index 9c08876..de79894 100644 --- a/design/templates/archives/homepage.html +++ b/design/templates/archives/homepage.html @@ -41,7 +41,7 @@

About Luxagraf

Luxagraf is my notebook. Something that, in an earlier age, I would have long ago lost in the backseat of a taxi.

-

Or something like that. It could just be a website. Except that I don’t do lists. And I’m not trying to make money of it.

Whatever it is, whatever brought you here, I hope enjoy it.

+

Or something like that. It could just be a website. Except that I don’t do lists. And I’m not trying to make money off of it.

Whatever it is, whatever brought you here, I hope enjoy it.

-- cgit v1.2.3