Skip to content

Commit

Permalink
fix for new vibe-d-postgresql dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
denizzzka committed Feb 25, 2018
1 parent dd8cc0c commit 055c8ef
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
4 changes: 2 additions & 2 deletions dub.sdl
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ authors "Denis Feklushkin <[email protected]>"
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 {
Expand Down
12 changes: 0 additions & 12 deletions source/app.d
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 055c8ef

Please sign in to comment.