Comment 3 for bug 399011

Revision history for this message
Craig Hewetson (craighewetson-deactivatedaccount) wrote :

I might have an easier solution.
Why not startup a server for each build and kill it after the build has completed, cancelled or failed.

Got from test code in bzr-xmloutput:
        response = self.client.quit() // this method
        self.thread.join()

One might have to think of what would have to be done for simultaneous builds. Don't know what would happen if there are multiple servers running. Maybe the server can only get killed if there are no other bazaar "enabled" build's running when it gets cancelled, completed or failed. Therefore maintaining a single instance of the xmlrpc server