We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 224ad84 commit 84dc75eCopy full SHA for 84dc75e
1 file changed
infrahub_sync/adapters/slurpitsync.py
@@ -148,11 +148,8 @@ def normalize_and_find_prefix(entry):
148
149
return entry
150
151
- # Concurrent execution of tasks
152
- tasks = [normalize_and_find_prefix(entry) for entry in interfaces if entry.get("IP")]
153
-
154
- # Run tasks concurrently
155
- filtered_interfaces = await asyncio.gather(*tasks)
+ # Process interfaces synchronously (normalize_and_find_prefix is not async)
+ filtered_interfaces = [normalize_and_find_prefix(entry) for entry in interfaces if entry.get("IP")]
156
157
results = [entry for entry in filtered_interfaces if entry]
158
0 commit comments