diff --git a/messages/datacodeBinaryExecutor.md b/messages/datacodeBinaryExecutor.md index fceb71b..1785b40 100644 --- a/messages/datacodeBinaryExecutor.md +++ b/messages/datacodeBinaryExecutor.md @@ -52,6 +52,7 @@ Failed to deploy package '%s': %s - Check the datacustomcode binary is properly installed - Review the error message for specific issues - Ensure the package is properly initialized and zipped +- Check the UI. The failure may have occurred when polling status # error.runAuthenticationFailed diff --git a/src/utils/datacodeBinaryExecutor.ts b/src/utils/datacodeBinaryExecutor.ts index 02e87a5..fddab65 100644 --- a/src/utils/datacodeBinaryExecutor.ts +++ b/src/utils/datacodeBinaryExecutor.ts @@ -275,7 +275,7 @@ export class DatacodeBinaryExecutor { return new Promise((resolve, reject) => { debug('deploy spawn: datacustomcode %o', args); const child = spawn('datacustomcode', args, { - timeout: 300_000, + timeout: 600_000, env: { ...process.env, PYTHONUNBUFFERED: '1' }, });