Browse Source

Change ports to 8080 for amber and kemal (#3059)

Mark 8 years ago
parent
commit
5b00302552

+ 1 - 1
frameworks/Crystal/amber/benchmark_config.json

@@ -9,7 +9,7 @@
       "fortune_url": "/fortunes",
       "fortune_url": "/fortunes",
       "update_url": "/updates?queries=",
       "update_url": "/updates?queries=",
       "plaintext_url": "/plaintext",
       "plaintext_url": "/plaintext",
-      "port": 3000,
+      "port": 8080,
       "approach": "Realistic",
       "approach": "Realistic",
       "classification": "Fullstack",
       "classification": "Fullstack",
       "database": "Postgres",
       "database": "Postgres",

+ 1 - 1
frameworks/Crystal/amber/config/application.cr

@@ -1,4 +1,4 @@
 Amber::Server.configure do |app|
 Amber::Server.configure do |app|
   app.name = "Amber web application."
   app.name = "Amber web application."
-  app.port = 3000
+  app.port = 8080
 end
 end

+ 4 - 20
frameworks/Crystal/amber/shard.lock

@@ -4,10 +4,6 @@ shards:
     github: amberframework/amber
     github: amberframework/amber
     version: 0.3.0
     version: 0.3.0
 
 
-  amber_spec:
-    github: amberframework/amber-spec
-    version: 0.1.1
-
   callback:
   callback:
     github: mosop/callback
     github: mosop/callback
     version: 0.5.1
     version: 0.5.1
@@ -18,20 +14,16 @@ shards:
 
 
   db:
   db:
     github: crystal-lang/crystal-db
     github: crystal-lang/crystal-db
-    version: 0.4.2
+    version: 0.4.3
 
 
   granite_orm:
   granite_orm:
     github: amberframework/granite-orm
     github: amberframework/granite-orm
-    version: 0.7.4
+    version: 0.7.6
 
 
   icr:
   icr:
     github: TechMagister/crystal-icr
     github: TechMagister/crystal-icr
     commit: b28bb938cc9e9e439424217c074a9168d253ba4b
     commit: b28bb938cc9e9e439424217c074a9168d253ba4b
 
 
-  jasper_helpers:
-    github: amberframework/jasper-helpers
-    version: 0.1.5
-
   kilt:
   kilt:
     github: jeromegn/kilt
     github: jeromegn/kilt
     version: 0.3.3
     version: 0.3.3
@@ -42,7 +34,7 @@ shards:
 
 
   mysql:
   mysql:
     github: crystal-lang/crystal-mysql
     github: crystal-lang/crystal-mysql
-    version: 0.3.2
+    version: 0.3.3
 
 
   optarg:
   optarg:
     github: mosop/optarg
     github: mosop/optarg
@@ -52,10 +44,6 @@ shards:
     github: will/crystal-pg
     github: will/crystal-pg
     version: 0.13.4
     version: 0.13.4
 
 
-  quartz_mailer:
-    github: amberframework/quartz-mailer
-    version: 0.2.0
-
   radix:
   radix:
     github: luislavena/radix
     github: luislavena/radix
     commit: 905bd9e14b9996c793ac95e1e77d2809f7f79568
     commit: 905bd9e14b9996c793ac95e1e77d2809f7f79568
@@ -76,17 +64,13 @@ shards:
     github: jeromegn/slang
     github: jeromegn/slang
     commit: b817c89c7e5ae39562710c0d6c7f42cee685e14f
     commit: b817c89c7e5ae39562710c0d6c7f42cee685e14f
 
 
-  smtp:
-    github: raydf/smtp.cr
-    commit: 36854c38435ce104914cb6f44e08c23d8defd143
-
   spinner:
   spinner:
     github: askn/spinner
     github: askn/spinner
     version: 0.1.1
     version: 0.1.1
 
 
   sqlite3:
   sqlite3:
     github: crystal-lang/crystal-sqlite3
     github: crystal-lang/crystal-sqlite3
-    version: 0.8.2
+    version: 0.8.3
 
 
   string_inflection:
   string_inflection:
     github: mosop/string_inflection
     github: mosop/string_inflection

+ 1 - 1
frameworks/Crystal/kemal/benchmark_config.json

@@ -9,7 +9,7 @@
       "fortune_url": "/fortunes",
       "fortune_url": "/fortunes",
       "update_url": "/updates?queries=",
       "update_url": "/updates?queries=",
       "plaintext_url": "/plaintext",
       "plaintext_url": "/plaintext",
-      "port": 3000,
+      "port": 8080,
       "approach": "Realistic",
       "approach": "Realistic",
       "classification": "Fullstack",
       "classification": "Fullstack",
       "database": "Postgres",
       "database": "Postgres",

+ 1 - 1
frameworks/Crystal/kemal/setup-postgres.sh

@@ -11,7 +11,7 @@ export GC_MARKERS=1
 export KEMAL_ENV=production
 export KEMAL_ENV=production
 
 
 for i in $(seq 1 $(nproc --all)); do
 for i in $(seq 1 $(nproc --all)); do
-  ./server-postgres &
+  ./server-postgres -p 8080 &
 done
 done
 
 
 wait
 wait