Run rubocop on all files
This commit is contained in:
@@ -4,14 +4,14 @@ require "connection_pool"
|
||||
require "que"
|
||||
require "hanami/boot"
|
||||
|
||||
uri = URI.parse(ENV['DATABASE_URL'])
|
||||
uri = URI.parse(ENV["DATABASE_URL"])
|
||||
|
||||
Que.connection = ConnectionPool.new(size: 10) do
|
||||
PG::Connection.open(
|
||||
host: uri.host,
|
||||
user: uri.user,
|
||||
host: uri.host,
|
||||
user: uri.user,
|
||||
password: uri.password,
|
||||
port: uri.port || 5432,
|
||||
dbname: uri.path[1..-1]
|
||||
port: uri.port || 5432,
|
||||
dbname: uri.path[1..]
|
||||
)
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user