diff --git a/busqueda/funko.cr b/busqueda/funko.cr index f61b9a2..09ce719 100644 --- a/busqueda/funko.cr +++ b/busqueda/funko.cr @@ -12,7 +12,7 @@ DBURL = "postgres://#{USER}:#{PASS}@#{DBHOST}:5432/nombres" puts "Connnecting to #{DBURL}" # Create a connection pool to the database -pg = ConnectionPool.new(capacity: 5, timeout: 0.2.seconds) do +pg = ConnectionPool.new(capacity: 5, timeout: 1.seconds) do PG.connect(DBURL) end diff --git a/busqueda/funko.yml b/busqueda/funko.yml index 23f09bf..32cf5b5 100644 --- a/busqueda/funko.yml +++ b/busqueda/funko.yml @@ -1,7 +1,7 @@ name: busqueda runtime: kemal options: - shard_build_options: "-d --error-trace" + shard_build_options: "--release -d --error-trace" ship_packages: [] devel_packages: [] healthcheck_options: "--interval=1m --timeout=2s --start-period=2s --retries=3" diff --git a/deploy.sh b/deploy.sh index 8c6e1b3..5becf45 100755 --- a/deploy.sh +++ b/deploy.sh @@ -25,3 +25,4 @@ faaso build historico faaso scale historico 0 faaso scale historico 1 +rsync -rav nombres.ralsina.me/* ralsina@pinky:/data/websites/nombres.ralsina.me/ diff --git a/historico/funko.cr b/historico/funko.cr index 0f7ff6f..42dfb9e 100644 --- a/historico/funko.cr +++ b/historico/funko.cr @@ -12,7 +12,7 @@ DBURL = "postgres://#{USER}:#{PASS}@#{DBHOST}:5432/nombres" puts "Connnecting to #{DBURL}" # Create a connection pool to the database -pg = ConnectionPool.new(capacity: 5, timeout: 0.2.seconds) do +pg = ConnectionPool.new(capacity: 5, timeout: 1.seconds) do PG.connect(DBURL) end diff --git a/historico/funko.yml b/historico/funko.yml index 57f54ff..f2e3cd1 100644 --- a/historico/funko.yml +++ b/historico/funko.yml @@ -1,7 +1,7 @@ name: historico runtime: kemal options: - shard_build_options: "-d --error-trace" + shard_build_options: "--release -d --error-trace" ship_packages: [] devel_packages: [] healthcheck_options: "--interval=1m --timeout=2s --start-period=2s --retries=3" diff --git a/nombres.ralsina.me/index.html b/nombres.ralsina.me/index.html new file mode 100644 index 0000000..3a4b2fd --- /dev/null +++ b/nombres.ralsina.me/index.html @@ -0,0 +1,339 @@ + + + + + + + + + + + + + + + + + + + + + +
+
+

Cosas con Datos de Nombres de Argentina

+

Adivinar nombres por edad y género

+
+
+
+
+ + + + +
+
+
+
+
+

Popularidad de Nombres en Argentina

+
+
+
+ + +
+
+ +
+
+

Cosas Nerds

+
+ +La aplicación consiste de: + +
+ + +