DLE is paused during dle container creation waiting telemetry send
Goal
DLE is paused during dle container creation waiting telemetry send. When telemetry enabled and there is no access to inet, DLE waits for several minutes and is not going to continue until timeout (12:44:42 - 12:48:56). For a user for the first time it misleads as nothing happens like restore/snashot/etc.
2023/04/11 12:44:42 mode_local.go:547: [DEBUG] Containers running: []
2023/04/11 12:44:42 mode_local.go:566: [DEBUG] Clone list: []
2023/04/11 12:44:42 mode_local.go:417: [INFO] Revising availability of the port range [6300 - 6310]
2023/04/11 12:44:42 mode_local.go:447: [INFO] 10 ports are available
2023/04/11 12:44:42 telemetry.go:26: [DEBUG] Send telemetry event {cgqi2l2h6bvmikh081rg engine_started {v3.3.0-20221222-1955 12 {zfs 1 20283654144 2320997888} {logical 0 0 * * 1 [logicalSnapshot]}}}
2023/04/11 12:48:56 telemetry.go:87: [ERROR] Failed to send telemetry event failed to post request: failed to perform request: failed to make API request: Post "https://postgres.ai/api/general/rpc/telemetry_event": dial tcp 188.114.98.224:443: connect: connection timed out
2023/04/11 12:48:56 retrieval.go:187: [INFO] Retrieval mode: logical
2023/04/11 12:48:56 retrieval.go:241: [INFO] logicalDump job is not enabled. Docker image extensions and locales will not be checked
2023/04/11 12:48:56 retrieval.go:216: [INFO] Pool to perform data retrieving: dblab_pool/dblab_pool_ilya_ht
2023/04/11 12:48:56 server.go:265: [INFO] API server started listening on :2345.
2023/04/11 12:48:56 retrieval.go:474: [DEBUG] Skip the logicalSnapshot job because it does not belong to the refresh group
TODO / How to implement
Make it in background