Skip to content

Commit

Permalink
removed old fixed queues
Browse files Browse the repository at this point in the history
  • Loading branch information
dantheta committed Mar 20, 2022
1 parent d1e9d60 commit 5e52b98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/1.2/libs/queue.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,10 @@ public function setup_isp_queues() {
}

$this->delete_queue('url.'.$isp['queue_name'].'.ooni');
$this->delete_queue('url.'.$isp['queue_name'].'.fixed');

if ($isp['isp_type'] == 'fixed') {
$this->createqueue('url.'.$isp['queue_name'].'.fixed', 'url.fixed', AMQP_PUBLIC_QUEUE_TIMEOUT, true);
$this->createqueue('url.'.$isp['queue_name'].'.public', 'url.fixed', AMQP_PUBLIC_QUEUE_TIMEOUT, true);
}

#createqueue('admin.view.' . $isp['queue_name'], 'admin.view.#');
Expand Down

0 comments on commit 5e52b98

Please sign in to comment.