make the builder work without wide creds

This commit is contained in:
Graham Christensen 2017-11-04 12:56:39 -04:00
parent ad3c5b659e
commit f46670f738
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C

View file

@ -8,12 +8,16 @@ $connection = rabbitmq_conn();
$channel = $connection->channel();
$channel->basic_qos(null, 1, true);
/*
TODO: move this to a Leader-side job
list($queueName, , ) = $channel->queue_declare('build-results',
false, true, false, false);
list($queueName, , ) = $channel->queue_declare('build-inputs-' . NIX_SYSTEM,
false, true, false, false);
$channel->queue_bind($queueName, 'build-jobs');
*/
$queueName = 'build-inputs-' . NIX_SYSTEM;
function runner($msg) {