|
@@ -89,7 +89,7 @@ tree.add "/queries", queries_handler
|
|
|
tree.add "/fortunes", fortunes_handler
|
|
|
tree.add "/updates", updates_handler
|
|
|
|
|
|
-APPDB = DB.open("postgres://benchmarkdbuser:benchmarkdbpass@#{ENV["DBHOST"]? || "127.0.0.1"}:5432/hello_world")
|
|
|
+APPDB = DB.open("postgres://benchmarkdbuser:benchmarkdbpass@tfb-database:5432/hello_world")
|
|
|
ID_MAXIMUM = 10_000
|
|
|
|
|
|
server = HTTP::Server.new("0.0.0.0", 8080) do |context|
|