Breaks all locks (not just ours).
(self)
| 228 | return len(locks) == 1 |
| 229 | |
| 230 | def break_lock(self): |
| 231 | """Breaks all locks (not just ours).""" |
| 232 | logger.debug("LOCK-BREAK: break_lock() was called - deleting ALL locks!") |
| 233 | locks = self._get_locks() |
| 234 | for key in locks: |
| 235 | self._delete_lock(key, ignore_not_found=True) |
| 236 | self.last_refresh_dt = None |
| 237 | |
| 238 | def migrate_lock(self, old_id, new_id): |
| 239 | """Migrates the lock ownership from old_id to new_id.""" |
nothing calls this directly
no test coverage detected