jason810496 commented on code in PR #76416:
URL: https://github.com/apache/airflow/pull/76416#discussion_r4467380949


##########
airflow-core/src/airflow/api_fastapi/logging/decorators.py:
##########
@@ -357,6 +363,6 @@ async def log_action(
         session.add(log)
         # Explicit commit to persist the access log independently if the path 
operation fails or not.
         # Also it cannot be deferred to a 'function' scoped dependency because 
of the `request` parameter.
-        session.commit()
+        await session.commit()

Review Comment:
   Look into it, thanks.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to