lishq 853ff8a089 fix: prevent concurrent access to BERT model with thread lock
Added thread lock to protect get_phones_and_bert method from potential race conditions during concurrent access. This addresses issue #1844 where multiple threads accessing the BERT model simultaneously could cause data inconsistency or crashes.
2025-03-07 16:28:21 +08:00
..