pliny 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pliny/version.rb +1 -1
- data/lib/template/config/initializers/database.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05219e130e92ccf5c4feb4b920c66de370360c7b
|
4
|
+
data.tar.gz: 26b7dd30a5f8a886a4ab53394422208a8a3253ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8cd26e265b51c9aa36e6ceb2274a31d6efc5d5657c27b4687431b1dcf76b735a8faa040621af30faeeb1cd2f89076a939d6e2db792ce3079f63fa963d78a35db
|
7
|
+
data.tar.gz: cd22ef6dc41f8638c0a38e861fd6ca68e18f13a7f520ee5c806493bd8bb2512fb14ec7e53bec0314dddbce5c015f37d3f6b247ab8707ddc86357a327dd3f72f0
|
data/lib/pliny/version.rb
CHANGED
@@ -2,7 +2,7 @@ database_setup_proc = lambda do |conn|
|
|
2
2
|
# identify postgres connections coming from this process in pg_stat_activity
|
3
3
|
process_identifier = ENV["DYNO"] || File.basename($0).gsub(/\W+/, "_")
|
4
4
|
conn.execute "SET statement_timeout = '#{Config.database_timeout}s'"
|
5
|
-
conn.execute "SET application_name = #{process_identifier}"
|
5
|
+
conn.execute "SET application_name = '#{process_identifier}'"
|
6
6
|
end
|
7
7
|
|
8
8
|
Sequel.connect(Config.database_url,
|