Skip to content

Commit

Permalink
Don't use AMQP heartbeats on the renderers.
Browse files Browse the repository at this point in the history
  • Loading branch information
asciipip committed Feb 25, 2016
1 parent bd15f2b commit 5da3f4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion renderd.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def metaTileNeedsRendering(z, x, y):
conn.close()

console.printMessage('Starting renderer.')
rconn = pika.BlockingConnection(pika.ConnectionParameters(host=DB_HOST))
rconn = pika.BlockingConnection(pika.ConnectionParameters(host=DB_HOST, heartbeat_interval=0))
rchan = rconn.channel()
renderer = ContinuousRenderThread(dequeue_strategy, rchan, 0)
renderer.renderLoop()

0 comments on commit 5da3f4d

Please sign in to comment.