diff options
Diffstat (limited to 'bitbake/lib/prserv/serv.py')
-rw-r--r-- | bitbake/lib/prserv/serv.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/prserv/serv.py b/bitbake/lib/prserv/serv.py index eafc3aab7b..a4ae229134 100644 --- a/bitbake/lib/prserv/serv.py +++ b/bitbake/lib/prserv/serv.py | |||
@@ -79,6 +79,8 @@ class PRServer(SimpleXMLRPCServer): | |||
79 | # 60 iterations between syncs or sync if dirty every ~30 seconds | 79 | # 60 iterations between syncs or sync if dirty every ~30 seconds |
80 | iterations_between_sync = 60 | 80 | iterations_between_sync = 60 |
81 | 81 | ||
82 | bb.utils.set_process_name("PRServ Handler") | ||
83 | |||
82 | while not self.quit: | 84 | while not self.quit: |
83 | try: | 85 | try: |
84 | (request, client_address) = self.requestqueue.get(True, 30) | 86 | (request, client_address) = self.requestqueue.get(True, 30) |
@@ -141,6 +143,8 @@ class PRServer(SimpleXMLRPCServer): | |||
141 | self.quit = False | 143 | self.quit = False |
142 | self.timeout = 0.5 | 144 | self.timeout = 0.5 |
143 | 145 | ||
146 | bb.utils.set_process_name("PRServ") | ||
147 | |||
144 | logger.info("Started PRServer with DBfile: %s, IP: %s, PORT: %s, PID: %s" % | 148 | logger.info("Started PRServer with DBfile: %s, IP: %s, PORT: %s, PID: %s" % |
145 | (self.dbfile, self.host, self.port, str(os.getpid()))) | 149 | (self.dbfile, self.host, self.port, str(os.getpid()))) |
146 | 150 | ||