Skip to content
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.

Commit

Permalink
Merge pull request #30 from business-factory/dev
Browse files Browse the repository at this point in the history
Dev -> Master
  • Loading branch information
martinvy authored Aug 7, 2018
2 parents 208421c + 1064cab commit dcaa5d5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion hooks/publisher.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def __enter__(self):
params = pika.ConnectionParameters(host=self._host, port=self._port, virtual_host=self._virtual_host, credentials=credentials)
self._connection = pika.BlockingConnection(params)
self._channel = self._connection.channel()
self._channel.exchange_declare(exchange=self._exchange_name, type="topic", durable=True)
self._channel.exchange_declare(exchange=self._exchange_name, exchange_type="topic", durable=True)
return self

def __exit__(self, exc_type, exc_val, exc_tb):
Expand Down
2 changes: 2 additions & 0 deletions hooks/settings/settings_gunicorn.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

workers = 4
bind = "0.0.0.0:8005"
worker_class = "eventlet"
worker_connections = 10

# Overwrite some Gunicorns params by ENV variables
for k, v in os.environ.items():
Expand Down
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
falcon==1.1.0
falcon==1.4.1
graypy==0.2.14
gunicorn==19.6.0
pika==0.10.0
gunicorn[eventlet]==19.9.0
pika==0.12.0
python-mimeparse==1.6.0
requests==2.12.4
requests==2.19.1
six==1.10.0

0 comments on commit dcaa5d5

Please sign in to comment.