Skip to content

Commit

Permalink
fix: Add missing await in JobDB
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisburr committed Dec 20, 2024
1 parent 15a1926 commit b3748c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion diracx-db/src/diracx/db/sql/job/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ async def set_job_command(self, job_id: int, command: str, arguments: str = ""):

async def set_job_command_bulk(self, commands):
"""Store a command to be passed to the job together with the next heart beat."""
self.conn.execute(
await self.conn.execute(
insert(JobCommands),
[
{
Expand Down

0 comments on commit b3748c3

Please sign in to comment.