Uses blocking database calls in a twisted webserver

This is basically a scalability bug that can have a negative impact when the server runs under a heavy load. The bug will be more apparent if there are long running queries or the database is slow for whatever reason.

The problem is that the webserver is running in a non-blocking io environment (eg, twisted web2), but the code makes blocking database calls in many places. So if a database call takes a long time, the whole server will "lock up" for new requests until the long running database call unblocks.

The best solution is to move away from using twisted and non-blocking io and use a more traditional multi-threaded/multi-process webserver, eg, mod_wsgi running under Apache2 or nginx.

Django admin does not work

For some reason the Django admin does not work ..

Allows extra spaces in regexes for extensions

When entering an extension destination (eg, ^101$), the web interface does not check for any trailing spaces, and this extra space renders the extension basically unreachable. Since it is common for spaces to creep in during copying/pasting, the interface needs to check for trailing spaces and either remove them or at least warn the user.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License