Skip to content
This repository was archived by the owner on Oct 9, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def _get_interface_name(permanent: bool, ipv6: bool = False, routed: bool = Fals
return f"{'pvpnrouteintrf' if routed else 'pvpnksintrf'}{'1' if permanent else '0'}"


async def _wrap_future(future: concurrent.futures.Future, timeout=5):
async def _wrap_future(future: concurrent.futures.Future, timeout=300):
"""Wraps a concurrent.future.Future object in an asyncio.Future object."""
return await asyncio.wait_for(
asyncio.wrap_future(future, loop=asyncio.get_running_loop()),
Expand Down