diff --git a/src/db/pool.cr b/src/db/pool.cr index b88c109..9c77993 100644 --- a/src/db/pool.cr +++ b/src/db/pool.cr @@ -303,10 +303,6 @@ module DB sync { @waiting_resource -= 1 } end - private def are_waiting_for_resource? - @waiting_resource > 0 - end - private def sync @mutex.lock begin