GitLab steht wegen Wartungsarbeiten am Montag, den 10. Mai, zwischen 17:00 und 19:00 Uhr nicht zur Verfügung.

Commit 4b43a986 authored by Christopher Fullarton's avatar Christopher Fullarton

Deactivates the quiz keepalive check

parent 7206a0c9
......@@ -523,11 +523,16 @@ class QuizDAO extends AbstractDAO {
}
private checkExistingConnection(quizName: string, privateKey: string): void {
// FIXME must be rewritten to use the correct quiz exchange and routing key path
if (true) {
return;
}
const reqOptions: http.RequestOptions = {
protocol: settings.amqp.managementApi.protocol,
host: settings.amqp.managementApi.host,
port: settings.amqp.managementApi.port,
path: `/api/exchanges/${encodeURIComponent(settings.amqp.vhost)}/quiz_${encodeURIComponent(encodeURIComponent(quizName))}/bindings/source`,
path: `/api/exchanges/${encodeURIComponent(settings.amqp.vhost)}/${encodeURIComponent(AMQPConnector.quizExchange)}/bindings/source`,
auth: `${settings.amqp.managementApi.user}:${settings.amqp.managementApi.password}`,
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment