Hi guys
in a GET request, I run this function updateuserprofile(profile_uid) in a
separate thread like this:

threading.Thread(target=updateuserprofile, args=(profile_uid,)).start()

now because of this a huge number of postgres clients is open and doesnt get
closed and hogs up lotsa memory in my box.

so do i need to run web.unload() from this function? i dont right now,
because sometimes i also call it unthreaded way..
help me out here!

thanks
mark

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to