Skip to content

Commit

Permalink
Enhance comment following review
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit74 committed Nov 27, 2023
1 parent 9671321 commit b096dfc
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,9 @@ def get(self, session: so.Session, token: AccessToken.Payload):
)
worker.last_ip = worker_ip

# commit explicitely since we are not using an explicit transaction,
# and do it before calling Wasabi so that changes are propagated
# quickly and transaction is not blocking
# commit explicitely last_ip and last_seen changes, since we are not
# using an explicit transaction, and do it before calling Wasabi so
# that changes are propagated quickly and transaction is not blocking
session.commit()

if ip_changed:
Expand Down

0 comments on commit b096dfc

Please sign in to comment.