(self, lock_file: str, *, is_singleton: bool = True)
| 848 | |
| 849 | class _SlowLock(SoftFileLock): |
| 850 | def __init__(self, lock_file: str, *, is_singleton: bool = True) -> None: |
| 851 | time.sleep(0.05) |
| 852 | super().__init__(lock_file, is_singleton=is_singleton) |
| 853 | |
| 854 | results: list[BaseFileLock] = [] |
| 855 | barrier = threading.Barrier(2) |