equal
deleted
inserted
replaced
499 |
499 |
500 This is a public method, not requiring a session id. |
500 This is a public method, not requiring a session id. |
501 |
501 |
502 This method is deprecated in favor of using _cw.call_service('repo_stats') |
502 This method is deprecated in favor of using _cw.call_service('repo_stats') |
503 """ |
503 """ |
504 with self.internal_session() as session: |
504 with self.internal_cnx() as cnx: |
505 return session.call_service('repo_stats') |
505 return cnx.call_service('repo_stats') |
506 |
506 |
507 @deprecated("[3.19] use _cw.call_service('repo_gc_stats'") |
507 @deprecated("[3.19] use _cw.call_service('repo_gc_stats'") |
508 def gc_stats(self, nmax=20): |
508 def gc_stats(self, nmax=20): |
509 """Return a dictionary containing some statistics about the repository |
509 """Return a dictionary containing some statistics about the repository |
510 memory usage. |
510 memory usage. |