Skip to content

Commit

Permalink
Increase timeout
Browse files Browse the repository at this point in the history
- it was timing out way too quickly even on localhost, so I'm mildly concerned it will be even longer on prod servers
  • Loading branch information
cee-chen committed Jun 26, 2020
1 parent 5d4597d commit e767055
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/enterprise_search/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const plugin = (initializerContext: PluginInitializerContext) => {
export const configSchema = schema.object({
host: schema.maybe(schema.string()),
enabled: schema.boolean({ defaultValue: true }),
accessCheckTimeout: schema.number({ defaultValue: 200 }),
accessCheckTimeout: schema.number({ defaultValue: 500 }),
});

type ConfigType = TypeOf<typeof configSchema>;
Expand Down

0 comments on commit e767055

Please sign in to comment.