Skip to content

Commit b46767d

Browse files
committed
fix polling status
1 parent fc3c77d commit b46767d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,8 @@ for (let {dataset_id, id, description, inputs, defaults = {}, fixed_values = {}}
920920
method: 'GET',
921921
headers: api_headers(ctx.clientName, tool_name),
922922
});
923-
if (['running', 'building'].includes(snapshot_response.data?.status))
923+
if (['running', 'building', 'starting'].includes(
924+
snapshot_response.data?.status))
924925
{
925926
console.error(`[${tool_name}] snapshot not ready, `
926927
+`polling again (attempt `

0 commit comments

Comments
 (0)