Skip to content

Commit

Permalink
Use multiprocessing instead of threading since we use multiple proces…
Browse files Browse the repository at this point in the history
…sess
  • Loading branch information
jordimas committed May 29, 2024
1 parent a352d79 commit 92147ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions transcribe-service/usage.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
import datetime
from shutil import copyfile
import logging
import threading
import multiprocessing

lock = threading.Lock()
lock = multiprocessing.Lock()

"""
This class keeps a log of the usage of a service
Expand Down

0 comments on commit 92147ab

Please sign in to comment.