1
0
Fork 0
mirror of https://github.com/NixOS/hydra.git synced 2024-10-18 17:02:28 -04:00
hydra/src/script
Eelco Dolstra c08883966c Use PostgreSQL notifications for queue events
Hydra-queue-runner now no longer polls the queue periodically, but
instead sleeps until it receives a notification from PostgreSQL about
a change to the queue (build added, build cancelled or build
restarted).

Also, for the "build added" case, we now only check for builds with an
ID greater than the previous greatest ID. This is much more efficient
if the queue is large.
2015-06-11 17:41:59 +02:00
..
hydra-build Fix not-null constraint violation inserting build step 2015-04-07 13:34:00 +02:00
hydra-create-user Don't use Perl's -w flag 2014-12-12 17:39:52 +01:00
hydra-eval-guile-jobs.in Remove the longDescription field 2014-09-30 15:44:09 +02:00
hydra-evaluator Use PostgreSQL notifications for queue events 2015-06-11 17:41:59 +02:00
hydra-init Don't use Perl's -w flag 2014-12-12 17:39:52 +01:00
hydra-queue-runner Split timeSpent query into 2 separate queries, as postgresql isn't able to figure out a decent query plan. With 120k jobs in queue, this makes some queries go from 100s to 1-2s. 2015-05-01 12:28:29 +02:00
hydra-s3-backup-collect-garbage Don't use Perl's -w flag 2014-12-12 17:39:52 +01:00
hydra-server Don't use Perl's -w flag 2014-12-12 17:39:52 +01:00
hydra-update-gc-roots Don't use Perl's -w flag 2014-12-12 17:39:52 +01:00
Makefile.am Add a command `hydra-create-user' for managing user accounts 2013-11-06 13:36:29 +01:00
nix-prefetch-bzr Use mktemp for tempdir creation in prefetchers. 2014-08-29 12:40:11 +02:00
nix-prefetch-git Use mktemp for tempdir creation in prefetchers. 2014-08-29 12:40:11 +02:00
nix-prefetch-hg Use mktemp for tempdir creation in prefetchers. 2014-08-29 12:40:11 +02:00