Skip to content

Commit 84a64fc

Browse files
rename
1 parent 0bd2df3 commit 84a64fc

File tree

1 file changed

+2
-2
lines changed
  • packages/service-library/src/servicelib/rabbitmq/rpc_interfaces/async_jobs

1 file changed

+2
-2
lines changed

packages/service-library/src/servicelib/rabbitmq/rpc_interfaces/async_jobs/async_jobs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ async def wait_and_get_result(
238238
)
239239
except (TimeoutError, CancelledError) as error:
240240
try:
241-
await abort(
241+
await cancel(
242242
rabbitmq_rpc_client,
243243
rpc_namespace=rpc_namespace,
244244
job_id=job_id,
@@ -270,7 +270,7 @@ async def submit_and_wait(
270270
except (TimeoutError, CancelledError) as error:
271271
if async_job_rpc_get is not None:
272272
try:
273-
await abort(
273+
await cancel(
274274
rabbitmq_rpc_client,
275275
rpc_namespace=rpc_namespace,
276276
job_id=async_job_rpc_get.job_id,

0 commit comments

Comments
 (0)