Hello, I've been writing a game manager backend whose purpose is to check every couple of seconds for games that are ready to be launched, call a task to launch them, and rinse and repeat. I have a handler for a front-end instance to URLFetch from the backend and retrieve its state to display to users and I put the main loop into a thread that I call time.sleep on. The problem is it seems like when I run the main loop function in the thread, absolutely nothing happens. It's of this form:
def start(self): _id = thread.start_new_thread(self.check_current_games, ()) logging.info("Thread id: %s" % _id) When start is called, it seems like it just totally locks up and nothing I output to the logs shows up. The logging line about the thread if is never shown. Does anyone know why this might be and how I can go about fixing it? Also, when I worked on the backend starting and stopping it many times, I used up the full 9 hour backend quota in ~2 hours. Is this because it's keeping one idle and when I immediately click start again I'm running several instances at the same time? It never seems to indicate I have more than one instance active, so I'm not sure why this would be the case. Thanks, Rick -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.