Skip to content

Commit

Permalink
fix: Add call to wait for the database to be ready.
Browse files Browse the repository at this point in the history
  • Loading branch information
vxern committed Oct 5, 2024
1 parent 30bd5a5 commit d68f04c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/library/adapters/databases/rethinkdb/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ class RethinkDBAdapter extends DatabaseAdapter {

this.#connection.use(this.#databaseName);

await rethinkdb.r.db(this.#databaseName).wait().run(this.#connection);

await this.#createMissingTables();
}

Expand Down

0 comments on commit d68f04c

Please sign in to comment.