Skip to content
This repository was archived by the owner on Jun 2, 2021. It is now read-only.

Commit 64aabeb

Browse files
committed
add comments about timeout values
1 parent 68ac07e commit 64aabeb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

newrelic_python_agent/plugins/rabbitmq.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ class RabbitMQ(base.Plugin):
2020
DEFAULT_HOST = 'localhost'
2121
DEFAULT_PORT = 80
2222
DEFAULT_API_PATH = '/api'
23+
# support standard requests timeout values: (connect, read) or single value for both
24+
# http://docs.python-requests.org/en/master/user/advanced/#timeouts
2325
DEFAULT_TIMEOUT = (3.05, 30)
2426

2527
DUMMY_STATS = {'ack': 0,

0 commit comments

Comments
 (0)