Fergus Dall 04da31af2b Fix deadlock in Lock.Stale
With debug logging enabled this method would take a lock and then
format the lock as a string. Since PR #4022 landed the string
formatting method has also taken the lock, so this deadlocks.

Instead just record the lock ID, as is done elsewhere.
2023-01-27 03:21:37 +11:00
..
2022-12-03 11:28:10 +01:00
2022-10-16 10:50:39 +02:00
2017-07-24 17:43:32 +02:00
2022-08-18 20:15:38 +02:00
2022-12-03 12:38:20 +01:00
2022-12-03 12:38:20 +01:00
2022-12-03 12:38:20 +01:00
2022-12-03 12:38:20 +01:00
2023-01-27 03:21:37 +11:00
2022-03-28 22:23:47 +02:00
2022-03-28 22:23:47 +02:00
2022-03-28 22:23:47 +02:00
2022-10-16 10:50:39 +02:00
2022-08-05 23:46:46 +02:00