* Perform builds in parallel.

* Turn off sqlite's synchronous mode because fsync() performance
  *really* sucks on ext3 (it syncs the entire filesystem).  See
  https://bugzilla.mozilla.org/show_bug.cgi?id=421482
This commit is contained in:
Eelco Dolstra
2008-11-11 10:27:36 +00:00
parent 8f5e7c319c
commit 0f24c11292
4 changed files with 39 additions and 6 deletions

View File

@ -7,6 +7,8 @@ use HydraFrontend::Schema;
my $db = HydraFrontend::Schema->connect("dbi:SQLite:dbname=hydra.sqlite", "", "", {});
$db->storage->dbh->do("PRAGMA synchronous = OFF;");
sub isValidPath {
my $path = shift;
@ -250,4 +252,8 @@ sub checkJobs {
}
checkJobs;
while (1) {
checkJobs;
print "sleeping...\n";
sleep 10;
}