Re: Multithreaded Dev Server

2008-11-16 Thread [EMAIL PROTECTED]
Having two instances of the dev server running does seem like another easy way to do it, as it won't require installing anymore software. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post

Re: Multithreaded Dev Server

2008-11-15 Thread [EMAIL PROTECTED]
http://www.oebfare.com/blog/2008/nov/03/writing-custom-management-command/ The CherryPy WSGI server should make this really, you could probably even deploy on it if you wanted. On Nov 16, 1:15 am, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > On Nov 16, 4:40 pm, Chris <[EMAIL PROTECTED]> wrote:

Re: Multithreaded Dev Server

2008-11-15 Thread Graham Dumpleton
On Nov 16, 4:40 pm, Chris <[EMAIL PROTECTED]> wrote: > I understand what you're saying. It's just unfortunate we're throwing > out the convenience of the dev server. > > What's up withhttp://code.djangoproject.com/ticket/3357? Looks like > this idea isn't new. Using daemon mode of mod_wsgi can

Re: Multithreaded Dev Server

2008-11-15 Thread David Zhou
On Sun, Nov 16, 2008 at 12:40 AM, Chris <[EMAIL PROTECTED]> wrote: > I understand what you're saying. It's just unfortunate we're throwing > out the convenience of the dev server. If you're not interested in setting up something like apache, you can also maybe use one of the pure python servers

Re: Multithreaded Dev Server

2008-11-15 Thread Malcolm Tredinnick
On Sat, 2008-11-15 at 21:40 -0800, Chris wrote: [...] > What's up with http://code.djangoproject.com/ticket/3357 ? Looks like > this idea isn't new. Actually, it shows that there are people who can't read instructions. Once a ticket has been wontifxed by a developer, it shouldn't be reopened

Re: Multithreaded Dev Server

2008-11-15 Thread Chris
I understand what you're saying. It's just unfortunate we're throwing out the convenience of the dev server. What's up with http://code.djangoproject.com/ticket/3357 ? Looks like this idea isn't new. Chris On Nov 16, 12:30 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Sat, 2008-11-15

Re: Multithreaded Dev Server

2008-11-15 Thread Malcolm Tredinnick
On Sat, 2008-11-15 at 21:17 -0800, Chris wrote: > Do you mean easier in that runserver doesn't support multithreading at > all? Or easier in that it supports multi-threading, but it's difficult > to set up? The dev server is single-threaded by design. It wouldn't be impossible to make it

Re: Multithreaded Dev Server

2008-11-15 Thread Chris
Do you mean easier in that runserver doesn't support multithreading at all? Or easier in that it supports multi-threading, but it's difficult to set up? I'd like to use the dev server, because, well, I'm developing. On Nov 16, 12:14 am, "David Zhou" <[EMAIL PROTECTED]> wrote: > On Sun, Nov 16,

Re: Multithreaded Dev Server

2008-11-15 Thread David Zhou
On Sun, Nov 16, 2008 at 12:11 AM, Chris <[EMAIL PROTECTED]> wrote: > I'm trying to write a basic Ajax app, which submits a file in one long- > running request, and periodically polls the status in another request. > However, it seems like runserver is single threaded, so the second > request

Multithreaded Dev Server

2008-11-15 Thread Chris
I'm trying to write a basic Ajax app, which submits a file in one long- running request, and periodically polls the status in another request. However, it seems like runserver is single threaded, so the second request just hangs until the file upload completes, preventing the status update. Is