From 5a63a01f9afdef8801bfde5944ddd11f54ac2776 Mon Sep 17 00:00:00 2001 From: sanahabhimani Date: Mon, 4 Dec 2023 15:21:24 -0500 Subject: [PATCH] change timeout to 60s --- socs/agents/ucsc_radiometer/agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/socs/agents/ucsc_radiometer/agent.py b/socs/agents/ucsc_radiometer/agent.py index 0acef7386..9d22acf18 100644 --- a/socs/agents/ucsc_radiometer/agent.py +++ b/socs/agents/ucsc_radiometer/agent.py @@ -69,7 +69,7 @@ def acq(self, session, params=None): while self.take_data: try: - r = requests.get(self.url, timeout=6) + r = requests.get(self.url, timeout=60) except ValueError: pm.sleep() continue