Skip to content

Commit

Permalink
fix(root): pg healthcheck with aurora db
Browse files Browse the repository at this point in the history
  • Loading branch information
stakach committed Oct 11, 2023
1 parent 8768ba3 commit d31a0b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/placeos-rest-api/controllers/root.cr
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ module PlaceOS::Api

private def self.pg_healthcheck
::DB.connect(pg_healthcheck_url) do |db|
db.query_all("select datname, usename from pg_stat_activity where datname is not null", as: {String, String}).first?
db.query_all("select datname from pg_stat_activity where datname is not null", as: {String}).first?
end
end

Expand Down

0 comments on commit d31a0b7

Please sign in to comment.