This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Add pghero for analyzing postgres performance in production
closed-social-glitch-2
Eugen Rochko
7 years ago
parent
4ea13d8dc9
commit
6471a548fe
3 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
Gemfile
+3
-0
Gemfile.lock
+1
-0
config/routes.rb
+ 1
- 0
Gemfile
View File
@ -12,6 +12,7 @@ gem 'puma'
gem
'hamlit-rails'
gem
'pg'
gem
'pghero'
gem
'dotenv-rails'
gem
'font-awesome-rails'
+ 3
- 0
Gemfile.lock
View File
@ -197,6 +197,8 @@ GEM
parser (2.3.1.2)
ast (~> 2.2)
pg (0.18.4)
pghero (1.6.2)
activerecord
powerpack (0.1.1)
pry (0.10.4)
coderay (~> 1.1.0)
@ -403,6 +405,7 @@ DEPENDENCIES
paperclip (~> 4.3)
paperclip-av-transcoder
pg
pghero
pry-rails
puma
rabl
+ 1
- 0
config/routes.rb
View File
@ -5,6 +5,7 @@ Rails.application.routes.draw do
authenticate
:user
,
lambda
{
|
u
|
u
.
admin?
}
do
mount
Sidekiq
::
Web
=
>
'/sidekiq'
mount
PgHero
::
Engine
,
at
:
'pghero'
end
use_doorkeeper
do
Write
Preview
Loading…
Cancel
Save