From 43834209c92085f6567f2e1b0eed8eed1fac9ad7 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 24 Jan 2016 16:25:36 +0000 Subject: testing against :memory: didn't work because of thread shenanigans --- server/default-conf/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/default-conf/Main.hs b/server/default-conf/Main.hs index 0fba774..982f50e 100644 --- a/server/default-conf/Main.hs +++ b/server/default-conf/Main.hs @@ -17,7 +17,7 @@ main :: IO () main = thermoprintServer (Nat runSqlite) $ def `withPrinters` printers where runSqlite :: ReaderT ConnectionPool (LoggingT IO) a -> IO a - runSqlite = runStderrLoggingT . withSqlitePool ":memory:" 1 . runReaderT + runSqlite = runStderrLoggingT . withSqlitePool "thermoprint.sqlite" 1 . runReaderT printers = [ PS Debug ] -- cgit v1.2.3