Skip to content

Commit 9dfe09e

Browse files
author
Andrey
committed
Add comment.
1 parent 3210080 commit 9dfe09e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

moonstreamapi/moonstreamapi/actions.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -612,9 +612,10 @@ def delete_seer_subscription(
612612
"""
613613
Delete seer subscription from db
614614
"""
615-
615+
### TEMPORARY disable deleting abi jobs from db
616+
### TODO(ANDREY): fix this
616617
try:
617-
db_session.query(AbiSubscriptions).filter(
618+
db_session.query(AbiSubscriptions).filter(
618619
AbiSubscriptions.subscription_id == subscription_id
619620
).delete(synchronize_session=False)
620621
db_session.commit()
@@ -623,7 +624,6 @@ def delete_seer_subscription(
623624
db_session.rollback()
624625
return
625626

626-
627627
def add_abi_to_db(
628628
db_session: Session,
629629
user_id: uuid.UUID,

0 commit comments

Comments
 (0)