diff --git a/runbot/models/host.py b/runbot/models/host.py index 187fab7d..b5bdb031 100644 --- a/runbot/models/host.py +++ b/runbot/models/host.py @@ -57,6 +57,8 @@ class RunboHost(models.Model): return int(icp.get_param('runbot.runbot_running_max', default=75)) def set_psql_conn_count(self): + + _logger.debug('Updating psql connection count...') self.ensure_one() with local_pgadmin_cursor() as local_cr: local_cr.execute("SELECT sum(numbackends) FROM pg_stat_database;") diff --git a/runbot_builder/builder.py b/runbot_builder/builder.py index 49559a8a..b8b0a986 100755 --- a/runbot_builder/builder.py +++ b/runbot_builder/builder.py @@ -37,7 +37,7 @@ class RunbotClient(): self.env['runbot.build']._local_cleanup() self.env['runbot.repo']._docker_cleanup() host.set_psql_conn_count() - _logger.debug('Scheduling...') + _logger.info('Scheduling...') count += 1 sleep_time = self.env['runbot.repo']._scheduler_loop_turn(host) host.last_end_loop = fields.Datetime.now()