mirror of
https://gitea.invidious.io/iv-org/shard-crystal-db.git
synced 2024-08-15 00:53:32 +00:00
Drop unused code
This commit is contained in:
parent
b8de8ecb4b
commit
27d9ca0a84
1 changed files with 0 additions and 4 deletions
|
@ -303,10 +303,6 @@ module DB
|
||||||
sync { @waiting_resource -= 1 }
|
sync { @waiting_resource -= 1 }
|
||||||
end
|
end
|
||||||
|
|
||||||
private def are_waiting_for_resource?
|
|
||||||
@waiting_resource > 0
|
|
||||||
end
|
|
||||||
|
|
||||||
private def sync
|
private def sync
|
||||||
@mutex.lock
|
@mutex.lock
|
||||||
begin
|
begin
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue