Skip to content

Commit

Permalink
Fix migrate, elasticsearch timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
nonumpa committed Apr 2, 2024
1 parent 65df997 commit c4e5c36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions migration/addContributors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import 'dotenv/config';

const elasticsearchOpts: elasticsearch.ClientOptions = {
node: process.env.ELASTICSEARCH_URL,
requestTimeout: 30 * 60 * 1000, // 30 min
};

const client = new elasticsearch.Client(elasticsearchOpts);
Expand Down

0 comments on commit c4e5c36

Please sign in to comment.