From 37f87300c9804bdad66d730b676715e242b9ca42 Mon Sep 17 00:00:00 2001 From: Azul Date: Thu, 12 Sep 2013 09:57:45 +0200 Subject: use CouchRest::Database#changes, store and retrieve seq This commit bundles a few different changes: * we now use the CouchRest::Database#changes stream instead of our own * we store and read the last sequence number so on a restart we can start where we left * we now have a UserDatabase class rather than the CouchDatabaseCreator. It also knows about it's name and we create an instance of it per database we want to create. It's also more flexible when the databases already exist. --- config/default.yaml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config') diff --git a/config/default.yaml b/config/default.yaml index 3a08497..0e58e6e 100644 --- a/config/default.yaml +++ b/config/default.yaml @@ -21,3 +21,5 @@ security: names: - soledad roles: [] +seq_file: "/tmp/tapicero.seq" +log_file: "/var/log/leap/tapicero.log" -- cgit v1.2.3