Skip to content

Commit

Permalink
chore: test higher delay in node processes
Browse files Browse the repository at this point in the history
  • Loading branch information
alessbell committed Oct 3, 2024
1 parent 129e43a commit b239e04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function createHandlerFromSchema<TResolvers>(
// This sometimes caused multipart responses to be batched into a single
// render by React, so we'll use a longer delay of 20ms.
if (_delay === "real" && isNodeProcess()) {
_delay = 20;
_delay = 50;
}

let testSchema: GraphQLSchema = schema;
Expand Down

0 comments on commit b239e04

Please sign in to comment.