Browse Source

Update Crystal/kemal to use Crystal 0.32.1 and newer shards (#5375)

* test

* No max pool size

* Update shards to newer version

* Updated shards.lock versions

* Removed test line
Steven Luu 5 years ago
parent
commit
5bd4275e5b

+ 2 - 2
frameworks/Crystal/kemal/kemal.dockerfile

@@ -1,4 +1,4 @@
-FROM crystallang/crystal:0.26.1
+FROM crystallang/crystal:0.32.1
 
 
 WORKDIR /kemal
 WORKDIR /kemal
 COPY views views
 COPY views views
@@ -9,7 +9,7 @@ COPY shard.yml shard.yml
 
 
 ENV GC_MARKERS 1
 ENV GC_MARKERS 1
 ENV KEMAL_ENV production
 ENV KEMAL_ENV production
-ENV DATABASE_URL postgres://benchmarkdbuser:benchmarkdbpass@tfb-database:5432/hello_world?initial_pool_size=56&max_pool_size=56&max_idle_pool_size=56
+ENV DATABASE_URL postgres://benchmarkdbuser:benchmarkdbpass@tfb-database:5432/hello_world?initial_pool_size=56&max_idle_pool_size=56
 
 
 RUN shards install
 RUN shards install
 RUN crystal build --release --no-debug server-postgres.cr
 RUN crystal build --release --no-debug server-postgres.cr

+ 6 - 6
frameworks/Crystal/kemal/shard.lock

@@ -2,15 +2,15 @@ version: 1.0
 shards:
 shards:
   db:
   db:
     github: crystal-lang/crystal-db
     github: crystal-lang/crystal-db
-    version: 0.5.0
+    version: 0.8.0
 
 
   exception_page:
   exception_page:
     github: crystal-loot/exception_page
     github: crystal-loot/exception_page
-    version: 0.1.1
+    version: 0.1.2
 
 
   kemal:
   kemal:
     github: kemalcr/kemal
     github: kemalcr/kemal
-    version: 0.24.0
+    version: 0.26.1
 
 
   kilt:
   kilt:
     github: jeromegn/kilt
     github: jeromegn/kilt
@@ -18,7 +18,7 @@ shards:
 
 
   pg:
   pg:
     github: will/crystal-pg
     github: will/crystal-pg
-    version: 0.15.0
+    version: 0.20.0
 
 
   pool:
   pool:
     github: ysbaddaden/pool
     github: ysbaddaden/pool
@@ -26,9 +26,9 @@ shards:
 
 
   radix:
   radix:
     github: luislavena/radix
     github: luislavena/radix
-    version: 0.3.8
+    version: 0.3.9
 
 
   redis:
   redis:
     github: stefanwille/crystal-redis
     github: stefanwille/crystal-redis
-    version: 2.0.0
+    version: 2.5.3
 
 

+ 3 - 3
frameworks/Crystal/kemal/shard.yml

@@ -6,10 +6,10 @@ license: MIT
 dependencies:
 dependencies:
   pg:
   pg:
     github: will/crystal-pg
     github: will/crystal-pg
-    version: 0.15.0
+    version: 0.20.0
   kemal:
   kemal:
     github: kemalcr/kemal
     github: kemalcr/kemal
-    version: 0.24.0
+    version: 0.26.1
   redis:
   redis:
     github: stefanwille/crystal-redis
     github: stefanwille/crystal-redis
-    version: 2.0.0
+    version: 2.5.3