Commit Graph

14 Commits

Author SHA1 Message Date
Felipe Lessa
774bc18fa1 Force the test suites to use a lot less memory.
Works fine on my machine using GHC 7.10 with these limits.  Note that
I've activated the in-place compaction GC.
2015-05-31 23:22:21 -03:00
Felipe Lessa
0cca9cd086 Use HashMap for SessionMap.
It's a bit faster and uses a bit less memory.
2015-05-31 23:09:02 -03:00
Felipe Lessa
fcdb14e2bf More GHC 7.8 fixes: Functor constraint. 2015-05-31 15:42:10 -03:00
Felipe Lessa
4e3f27cb36 Setup.lhs x 7. 2015-05-31 14:56:39 -03:00
Felipe Lessa
d967f2b4a7 More GHC 7.8 fixes: DeriveDataTypeable, imports, (Functor m). 2015-05-31 14:53:26 -03:00
Felipe Lessa
3e33c58af0
Generalize session data (huge commit). 2015-05-31 11:07:23 -03:00
Felipe Lessa
6895fbee4f Allow Redis to store sessions with more than 512k keys. 2015-05-28 14:34:47 -03:00
Felipe Lessa
ec4623da34 Do not run large data tests in parallel.
Brings peak memory usage of the persistent test suite from 6 GiB to
4 GiB.  Still very bad, though.
2015-05-28 13:02:54 -03:00
Felipe Lessa
c9e080d5b8 Better time format for Redis serialization. 2015-05-28 02:44:46 -03:00
Felipe Lessa
ff6c0efaab Redis backend is all green. 2015-05-28 02:42:22 -03:00
Felipe Lessa
92fbee20da Fix copy-paste. 2015-05-28 02:23:00 -03:00
Felipe Lessa
bdd6db9e2a Do not lose precision when serializing UTCTime to Redis. 2015-05-28 02:20:17 -03:00
Felipe Lessa
7fdfd16216 Add test suite for redis backend.
Currently failing pretty badly. :(
2015-05-28 02:17:36 -03:00
Felipe Lessa
3a56d222a8
First stab at a Redis backend. 2015-05-26 02:23:33 -03:00