From 27d9ca0a842d1d4524748fb3b6445a9e806a9c77 Mon Sep 17 00:00:00 2001 From: "Brian J. Cardiff" Date: Wed, 19 Jul 2023 22:35:34 -0300 Subject: [PATCH] Drop unused code --- src/db/pool.cr | 4 ---- 1 file changed, 4 deletions(-) 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