Skip to content

Commit

Permalink
Merge pull request #1758 from flowforge/fix-1681
Browse files Browse the repository at this point in the history
Move registration of `monitor` to after registration of `ee`
  • Loading branch information
hardillb authored Feb 28, 2023
2 parents 74bbb8b + bfee6c9 commit 4fbdb6b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions forge/forge.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ module.exports = async (options = {}) => {
await server.register(db)
// Settings
await server.register(settings)
// Monitor
await server.register(monitor)
// License
await server.register(license)
// Audit Logging
Expand Down Expand Up @@ -95,6 +93,9 @@ module.exports = async (options = {}) => {

await server.register(ee)

// Monitor
await server.register(monitor)

await server.ready()

// NOTE: This is only likely to do anything after a db upgrade where the settingsHashes are cleared.
Expand Down

0 comments on commit 4fbdb6b

Please sign in to comment.