Skip to content

Commit 26fa50c

Browse files
committed
attempt to fix CI
1 parent 013a1c4 commit 26fa50c

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

config.js.ci

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ module.exports = {
77
currentVersionURL: "http://localhost:4000/v1",
88
elasticsearch: {
99
host: "https://localhost:9200",
10-
apiKey: INAT_ES_API_KEY
10+
apiKey: INAT_ES_API_KEY,
11+
tlsAllowUnauthorized: true
1112
},
1213
database: {
1314
user: "postgres",

lib/models/pg_connection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const PgConnection = class PgConnection {
6161
numberOfAttempts -= 1;
6262
if ( numberOfAttempts === 0 ) {
6363
PgConnection.debug( new Error( "Couldn't connect to database" ) );
64-
process.exit( );
64+
process.exit( 1 );
6565
}
6666
return this.awaitConnection( numberOfAttempts );
6767
}

0 commit comments

Comments
 (0)