mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #551 from omnivore-app/fix/es-timeout
Add request timeout = 30m in elastic client
This commit is contained in:
commit
1903072d8a
1 changed files with 1 additions and 0 deletions
|
|
@ -89,6 +89,7 @@ const logAppliedMigrations = (
|
|||
export const INDEX_ALIAS = 'pages_alias'
|
||||
export const esClient = new Client({
|
||||
node: process.env.ELASTIC_URL || 'http://localhost:9200',
|
||||
requestTimeout: 60000 * 30, // 30 minutes
|
||||
auth: {
|
||||
username: process.env.ELASTIC_USERNAME || '',
|
||||
password: process.env.ELASTIC_PASSWORD || '',
|
||||
|
|
|
|||
Loading…
Reference in a new issue