meducation/larva — pull request #13 by malcyL (2014-06-09 10:54:26+00:00)
Title: Remove duplicate suffix from queue name.

Binder missito will make use of a queue suffix - a feature added to aid development, but not used in production before.

Testing has shown that a queue's suffix is added twice. With the config file:

```
development:
...
application_name: development_binder_missito
queue_suffix: _binder
```

we hope to get a queue name
i.e. development_binder_missito-user_binder

Testing showed the resulting queue's were:

```
~ $ aws sqs list-queues --output=text
QUEUEURLS	https://eu-west-1.queue.amazonaws.com/260921037403/development_binder_missito-user_binder_binder
QUEUEURLS	https://eu-west-1.queue.amazonaws.com/260921037403/development_binder_missito-user_binder_binder-corrupt
QUEUEURLS	https://eu-west-1.queue.amazonaws.com/260921037403/development_binder_missito-user_binder_binder-failed
QUEUEURLS	https://eu-west-1.queue.amazonaws.com/260921037403/development_binder_missito-user_binder_binder-slow
```

Further testing, changing the config file to:

```
development:
...
application_name: development_binder_missito
queue_suffix: _suffix
```

created the following queue's:

```
~ $ aws sqs list-queues --output=text
QUEUEURLS	https://eu-west-1.queue.amazonaws.com/260921037403/development_binder_missito-user_suffix_suffix
QUEUEURLS	https://eu-west-1.queue.amazonaws.com/260921037403/development_binder_missito-user_suffix_suffix-corrupt
QUEUEURLS	https://eu-west-1.queue.amazonaws.com/260921037403/development_binder_missito-user_suffix_suffix-failed
QUEUEURLS	https://eu-west-1.queue.amazonaws.com/260921037403/development_binder_missito-user_suffix_suffix-slow
```

This change removes the addition of a second copy of the suffix to the queue name from larva. The suffix is added by Propono.