Skip to content

Commit e6e5ffa

Browse files
committed
snake case commit with thread
1 parent 628ead3 commit e6e5ffa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/recceiver/cfstore.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ def _commit_with_lock(self, transaction: interfaces.ITransaction) -> defer.Defer
372372
"""
373373
self.cancelled = False
374374

375-
t = deferToThread(self._commitWithThread, transaction)
375+
t = deferToThread(self._commit_with_thread, transaction)
376376

377377
def cancelCommit(d: defer.Deferred):
378378
"""Cancel the commit operation."""
@@ -518,7 +518,7 @@ def update_ioc_infos(
518518
for record_aliases in record_info_by_name[record_name].aliases:
519519
self.remove_channel(record_aliases, iocid)
520520

521-
def _commitWithThread(self, transaction: CommitTransaction):
521+
def _commit_with_thread(self, transaction: CommitTransaction):
522522
"""Commit the transaction to Channelfinder.
523523
524524
Collects the ioc info from the transaction.

0 commit comments

Comments
 (0)