Tzury wrote: > Within the built-in development server (which is the one I use in > production), I want to open another infinite background thread, that > will handle > socket requests from an external service. I wonder if you hackers can > come up with the best approach to this issue, without making anything > ugly to web.py. > > So far I came up with adding decorator to web.run(). > > Anybody has a better idea?
Not sure what you mean there (or why you sent the mail four times) but it is generally discouraged to use the built-in server. If you are using web.py as a fcgi backend for Lighttpd you can use the "max-procs" option to define the number of concurrent web.py threads. Though, if I am not mistaking, there is currently some discussion going on about how well this is handled concerning database connections... Was this resolved with the latest svn commit? Or was it not applicable to these kind of threads in the first place...? I did not follow it closely. Good luck and greetings, b^4 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
