From 055c8eff13cd24a67d177b0de0f4c3b3f0871156 Mon Sep 17 00:00:00 2001 From: Denis Feklushkin Date: Sun, 25 Feb 2018 18:29:37 +0700 Subject: [PATCH] fix for new vibe-d-postgresql dependency --- .test.sh | 2 +- dub.sdl | 4 ++-- source/app.d | 12 ------------ 3 files changed, 3 insertions(+), 15 deletions(-) diff --git a/.test.sh b/.test.sh index 6e4010c..bd7530e 100755 --- a/.test.sh +++ b/.test.sh @@ -2,7 +2,7 @@ set -ve dub build --build=release -dub build --build=unittest --debug=BreakUpSomeConnections +dub build --build=unittest CONNINFO=`jq '.sqlServer.connString' ${1}` CONNINFO_UNQUOTED=`echo $CONNINFO | xargs` diff --git a/dub.sdl b/dub.sdl index be2b87a..65b82a4 100644 --- a/dub.sdl +++ b/dub.sdl @@ -4,8 +4,8 @@ authors "Denis Feklushkin " license "MIT" copyright "Copyright © 2016" dependency "vibe-d:http" version="~>0.8.2" -dependency "dpq2" version="~>1.0.0-alpha.6" -dependency "vibe-d-postgresql" version="~>1.0.0-alpha.2" +dependency "dpq2" version="~>1.0.0-alpha.9" +dependency "vibe-d-postgresql" version="~>1.0.0-alpha.3" targetType "executable" subPackage { diff --git a/source/app.d b/source/app.d index c18f706..37f0fd2 100644 --- a/source/app.d +++ b/source/app.d @@ -155,18 +155,6 @@ int main(string[] args) void loop(in Bson cfg, PostgresClient client, immutable Method[string] methods) { - debug(BreakUpSomeConnections) // for testing purposes - { - auto s1 = client.lockConnection(); - auto s2 = client.lockConnection(); - - s1.socket.send([0x12, 0x13]); // just garbage - s2.socket.send([0x12, 0x13]); - - delete s1; - delete s2; - } - // http-server import vibe.core.core;