server/repository.py
changeset 5627 a7e40cccdc9b
parent 5590 a56eb02f9ce7
parent 5606 61b28589d33f
child 5655 ef903fff826d
equal deleted inserted replaced
5611:55366f5b7a9f 5627:a7e40cccdc9b
   421         results['sql_no_cache'] = self.system_source.no_cache
   421         results['sql_no_cache'] = self.system_source.no_cache
   422         results['nb_open_sessions'] = len(self._sessions)
   422         results['nb_open_sessions'] = len(self._sessions)
   423         results['nb_active_threads'] = threading.activeCount()
   423         results['nb_active_threads'] = threading.activeCount()
   424         results['looping_tasks'] = ', '.join(str(t) for t in self._looping_tasks)
   424         results['looping_tasks'] = ', '.join(str(t) for t in self._looping_tasks)
   425         results['available_pools'] = self._available_pools.qsize()
   425         results['available_pools'] = self._available_pools.qsize()
       
   426         results['threads'] = ', '.join(sorted(str(t) for t in threading.enumerate()))
   426         return results
   427         return results
   427 
   428 
   428     def get_schema(self):
   429     def get_schema(self):
   429         """return the instance schema. This is a public method, not
   430         """return the instance schema. This is a public method, not
   430         requiring a session id
   431         requiring a session id