Vacuum programs.sqlite
This cuts a few hundred KiB from the database.
This commit is contained in:
parent
6883275653
commit
2fd4d6beea
|
@ -313,6 +313,12 @@ void mainWrapped(int argc, char * * argv)
|
|||
threadPool.enqueue(std::bind(doPath, i.first, i.second));
|
||||
|
||||
threadPool.process();
|
||||
|
||||
/* Vacuum programs.sqlite to make it smaller. */
|
||||
{
|
||||
auto programsState(programsState_.lock());
|
||||
programsState->db.exec("vacuum");
|
||||
}
|
||||
}
|
||||
|
||||
int main(int argc, char * * argv)
|
||||
|
|
Loading…
Reference in a new issue