From 9d06ac1f5228914f1f87d53ac141843e0291d91a Mon Sep 17 00:00:00 2001 From: joseph-sentry Date: Tue, 26 Nov 2024 14:21:18 -0500 Subject: [PATCH] fix: remove db_session.flush() at end of commit_update --- tasks/commit_update.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tasks/commit_update.py b/tasks/commit_update.py index 7fc3763fc..edd0277dc 100644 --- a/tasks/commit_update.py +++ b/tasks/commit_update.py @@ -117,8 +117,6 @@ def run_impl( ): branch.head = commit.commitid - db_session.flush() - except RepositoryWithoutValidBotError: log.warning( "Unable to reach git provider because repo doesn't have a valid bot",