Skip to content

fix(server): Add 30 second timeout to dataset resolver

Codecov / codecov/patch succeeded Mar 5, 2024 in 1s

92.30% of diff hit (target 65.24%)

View this Pull Request on Codecov

92.30% of diff hit (target 65.24%)

Annotations

Check warning on line 28 in packages/openneuro-server/src/graphql/resolvers/dataset.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openneuro-server/src/graphql/resolvers/dataset.ts#L28

Added line #L28 was not covered by tests

Check warning on line 29 in packages/openneuro-server/src/utils/promiseTimeout.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openneuro-server/src/utils/promiseTimeout.ts#L28-L29

Added lines #L28 - L29 were not covered by tests