From e73a4c66bc54b9c62fdbc2dcbf1009aacc7dbd25 Mon Sep 17 00:00:00 2001 From: Joe Nelson Date: Fri, 12 Feb 2016 14:43:00 -0800 Subject: [PATCH] Do not block threads on libpq ffi Fixes #445 --- CHANGELOG.md | 1 + postgrest.cabal | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 82511e64b..c3bd0cf3f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). - Improved usage screen - @begriffs - Reject non-POSTs to rpc endpoints - @begriffs - Throw an error for OPTIONS on nonexistent tables - @calebmer +- Remove deadlock on simultaneous contentious updates - @ruslantalpa, @begriffs ## [0.3.0.3] - 2016-01-08 diff --git a/postgrest.cabal b/postgrest.cabal index 36b7250eb..27e62c2f2 100644 --- a/postgrest.cabal +++ b/postgrest.cabal @@ -24,6 +24,7 @@ Flag CI executable postgrest main-is: PostgREST/Main.hs default-extensions: OverloadedStrings, ScopedTypeVariables, QuasiQuotes, LambdaCase + ghc-options: -threaded -rtsopts -with-rtsopts=-N default-language: Haskell2010 build-depends: aeson >= 0.8 && < 0.10 , base >= 4.8 && < 5