From 42ae48a8267d75097e43c84532a917e4eebde1ef Mon Sep 17 00:00:00 2001 From: Sijawusz Pur Rahnama Date: Sun, 24 Dec 2023 00:10:05 +0100 Subject: [PATCH] Bump `pool` dependency --- shard.lock | 2 +- shard.yml | 2 +- src/gphoto2/web/camera_wrapper.cr | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/shard.lock b/shard.lock index e076759..74a280e 100644 --- a/shard.lock +++ b/shard.lock @@ -30,7 +30,7 @@ shards: pool: git: https://github.com/ysbaddaden/pool.git - version: 0.2.4 + version: 0.3.0 radix: git: https://github.com/luislavena/radix.git diff --git a/shard.yml b/shard.yml index af369dc..f145032 100644 --- a/shard.yml +++ b/shard.yml @@ -10,7 +10,7 @@ dependencies: version: ~> 0.9.0 pool: github: ysbaddaden/pool - version: ~> 0.2.4 + version: ~> 0.3.0 raven: github: Sija/raven.cr version: ~> 1.9.2 diff --git a/src/gphoto2/web/camera_wrapper.cr b/src/gphoto2/web/camera_wrapper.cr index bf0bd91..60a6329 100644 --- a/src/gphoto2/web/camera_wrapper.cr +++ b/src/gphoto2/web/camera_wrapper.cr @@ -5,7 +5,7 @@ module GPhoto2 getter pool : ConnectionPool(Camera) do ConnectionPool.new( capacity: 1, - timeout: @timeout.total_seconds + timeout: @timeout ) { camera } end