I have decided to do my database compaction when my app transitions into the background, so I am putting the call to compact in a background task using beginBackgroundTaskWithExpirationHandler. I'm trying to figure out what to do if the OS decides that my background task has to stop before compact is done. Can I call [database stop], to stop compaction? I understand that compact spends most of its time in a few calls to SQLite, is there any way that be stopped gracefully?
-- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/bc0a523c-c062-4327-b6e9-f50cc749ff97%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
