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 29, 2020
1 parent 44cd067 commit e3b355a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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: 600 }),
});

type ConfigType = TypeOf<typeof configSchema>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
export const mockConfig = {
enabled: true,
host: 'http://localhost:3002',
accessCheckTimeout: 200,
accessCheckTimeout: 600,
};

0 comments on commit e3b355a

Please sign in to comment.