Skip to content

Commit e0e2117

Browse files
committed
Increase timeout when pulling incus images on instance creation
1 parent d164e15 commit e0e2117

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/middlewared/middlewared/plugins/virt/instance.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ async def running_cb(data):
350350
'source': source,
351351
'type': 'container' if data['instance_type'] == 'CONTAINER' else 'virtual-machine',
352352
'start': data['autostart'],
353-
}}, running_cb)
353+
}}, running_cb, timeout=15 * 60) # We will give 15 minutes to incus to download relevant image and then timeout
354354

355355
return await self.middleware.call('virt.instance.get_instance', data['name'])
356356

0 commit comments

Comments
 (0)