Skip to content

Commit

Permalink
Merge pull request #357 from chrisburr/missing-await
Browse files Browse the repository at this point in the history
Add missing await in JobDB
  • Loading branch information
aldbr authored Dec 20, 2024
2 parents 320c554 + b3748c3 commit 0bc35d3
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 @@ -286,7 +286,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 0bc35d3

Please sign in to comment.