Skip to content

Commit

Permalink
Update db retry limit
Browse files Browse the repository at this point in the history
  • Loading branch information
Keskimaki committed Jan 27, 2023
1 parent c181cd5 commit 1c079a7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/server/db/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ import { Umzug, SequelizeStorage } from 'umzug'
import logger from '../util/logger.js'
import { DB_CONFIG } from '../../config.js'

// Update once staging has a db
const DB_CONNECTION_RETRY_LIMIT = 1
const DB_CONNECTION_RETRY_LIMIT = 10

export const sequelize = new Sequelize({
...(DB_CONFIG as Options),
Expand Down

0 comments on commit 1c079a7

Please sign in to comment.