Add timeout for the connection session to expire
From http://docs.python-requests.org/en/master/user/advanced/
"Most requests to external servers should have a timeout attached,
in case the server is not responding in a timely manner. By default,
requests do not time out unless a timeout value is set explicitly.
Without a timeout, your code may hang for minutes or more."
Resolves openbmc/openbmc-test-automation#1334
Change-Id: I3ff5fb67a409a1004149482dc5618ce16f5bcada
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
1 file changed