Pool local store connections

This commit is contained in:
Eelco Dolstra
2016-02-20 00:04:08 +01:00
parent 1cefd6cac8
commit 88a05763cc
6 changed files with 38 additions and 17 deletions

View File

@ -36,7 +36,7 @@ void State::queueMonitorLoop()
unsigned int lastBuildId = 0;
while (true) {
bool done = getQueuedBuilds(*conn, localStore, destStore, lastBuildId);
bool done = getQueuedBuilds(*conn, *localStore, destStore, lastBuildId);
/* Sleep until we get notification from the database about an
event. */