File tree Expand file tree Collapse file tree 2 files changed +2
-15
lines changed
Expand file tree Collapse file tree 2 files changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -12,5 +12,5 @@ ddtrace
1212sqlparse == 0.5.0
1313httpx >= 0.27.0 ,< 1
1414protobuf >= 3.20.2 # not directly required, pinned by Snyk to avoid a vulnerability
15- opal-common == 0.7.13
16- opal-client == 0.7.13
15+ opal-common == 0.7.15
16+ opal-client == 0.7.15
Original file line number Diff line number Diff line change @@ -49,19 +49,6 @@ async def main():
4949 pdp = pdp_url ,
5050 )
5151 )
52- async with aiohttp .ClientSession (base_url = pdp_url ) as client :
53- while True :
54- try :
55- resp = await client .get ("/healthy" )
56- if resp .status == 200 :
57- logger .info ("PDP is healthy" )
58- break
59- else :
60- logger .warning ("PDP is not healthy" )
61- except Exception as e :
62- logger .exception (f"Error: { e } " )
63-
64- await asyncio .sleep (1 )
6552
6653 while True :
6754 try :
You can’t perform that action at this time.
0 commit comments