diff --git a/frameworks/sinatra/app.rb b/frameworks/sinatra/app.rb index 9977605dd..43af0c760 100644 --- a/frameworks/sinatra/app.rb +++ b/frameworks/sinatra/app.rb @@ -72,10 +72,7 @@ class App < Sinatra::Base end get('/baseline11') do - total = 0 - request.GET.each do |_k, v| - total += v.to_i - end + total = params['a'].to_i + params['b'].to_i render_plain total.to_s end diff --git a/site/data/results/sinatra.json b/site/data/results/sinatra.json index 4a6353968..62e94a6b4 100644 --- a/site/data/results/sinatra.json +++ b/site/data/results/sinatra.json @@ -4,71 +4,71 @@ "api-16-1024": { "framework": "sinatra", "language": "Ruby", - "rps": 40543, - "avg_latency": "24.11ms", - "p99_latency": "107.70ms", - "cpu": "1646.6%", - "memory": "1.3GiB", + "rps": 43691, + "avg_latency": "22.18ms", + "p99_latency": "97.60ms", + "cpu": "1629.4%", + "memory": "1.2GiB", "connections": 1024, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "209.13MB/s", - "input_bw": "2.28MB/s", - "reconnects": 121568, - "status_2xx": 608157, + "bandwidth": "224.48MB/s", + "input_bw": "2.46MB/s", + "reconnects": 130954, + "status_2xx": 655372, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0, - "tpl_baseline": 227762, - "tpl_json": 228219, + "tpl_baseline": 245784, + "tpl_json": 245954, "tpl_db": 0, "tpl_upload": 0, "tpl_static": 0, - "tpl_async_db": 152175 + "tpl_async_db": 163634 }, "api-4-256": { "framework": "sinatra", "language": "Ruby", - "rps": 16064, - "avg_latency": "15.02ms", - "p99_latency": "64.40ms", - "cpu": "391.5%", - "memory": "432MiB", + "rps": 12359, + "avg_latency": "20.08ms", + "p99_latency": "83.50ms", + "cpu": "400.3%", + "memory": "388MiB", "connections": 256, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "82.84MB/s", - "input_bw": "925.56KB/s", - "reconnects": 48194, - "status_2xx": 240972, + "bandwidth": "63.51MB/s", + "input_bw": "712.09KB/s", + "reconnects": 37078, + "status_2xx": 185391, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0, - "tpl_baseline": 90302, - "tpl_json": 90400, + "tpl_baseline": 69504, + "tpl_json": 69527, "tpl_db": 0, "tpl_upload": 0, "tpl_static": 0, - "tpl_async_db": 60269 + "tpl_async_db": 46360 }, "async-db-1024": { "framework": "sinatra", "language": "Ruby", - "rps": 100503, - "avg_latency": "9.52ms", - "p99_latency": "20.40ms", - "cpu": "6305.6%", - "memory": "2.8GiB", + "rps": 108825, + "avg_latency": "8.81ms", + "p99_latency": "21.30ms", + "cpu": "6244.8%", + "memory": "3.2GiB", "connections": 1024, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "407.83MB/s", - "input_bw": "6.71MB/s", - "reconnects": 39768, - "status_2xx": 1005033, + "bandwidth": "439.93MB/s", + "input_bw": "7.26MB/s", + "reconnects": 43265, + "status_2xx": 1088252, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -76,19 +76,19 @@ "baseline-4096": { "framework": "sinatra", "language": "Ruby", - "rps": 58507, - "avg_latency": "59.81ms", - "p99_latency": "235.40ms", - "cpu": "3410.4%", - "memory": "4.9GiB", + "rps": 59276, + "avg_latency": "58.71ms", + "p99_latency": "219.70ms", + "cpu": "3709.8%", + "memory": "4.8GiB", "connections": 4096, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "5.91MB/s", - "input_bw": "4.52MB/s", + "bandwidth": "5.03MB/s", + "input_bw": "4.58MB/s", "reconnects": 0, - "status_2xx": 292535, + "status_2xx": 296381, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -96,19 +96,19 @@ "baseline-512": { "framework": "sinatra", "language": "Ruby", - "rps": 98225, - "avg_latency": "5.21ms", - "p99_latency": "66.50ms", - "cpu": "4526.0%", - "memory": "6.7GiB", + "rps": 90597, + "avg_latency": "5.66ms", + "p99_latency": "61.60ms", + "cpu": "4548.0%", + "memory": "6.3GiB", "connections": 512, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "9.93MB/s", - "input_bw": "7.59MB/s", - "reconnects": 412, - "status_2xx": 491129, + "bandwidth": "7.69MB/s", + "input_bw": "7.00MB/s", + "reconnects": 354, + "status_2xx": 452989, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -116,19 +116,19 @@ "crud-4096": { "framework": "sinatra", "language": "Ruby", - "rps": 64585, - "avg_latency": "61.16ms", - "p99_latency": "82.00ms", - "cpu": "2974.9%", + "rps": 60997, + "avg_latency": "64.41ms", + "p99_latency": "83.20ms", + "cpu": "2894.9%", "memory": "3.9GiB", "connections": 4096, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "20.10MB/s", - "input_bw": "5.54MB/s", - "reconnects": 4070, - "status_2xx": 968783, + "bandwidth": "18.97MB/s", + "input_bw": "5.24MB/s", + "reconnects": 3609, + "status_2xx": 914969, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -136,19 +136,19 @@ "json-4096": { "framework": "sinatra", "language": "Ruby", - "rps": 201560, - "avg_latency": "18.17ms", - "p99_latency": "47.20ms", - "cpu": "6470.8%", - "memory": "4.6GiB", + "rps": 208194, + "avg_latency": "17.38ms", + "p99_latency": "47.90ms", + "cpu": "6389.9%", + "memory": "4.8GiB", "connections": 4096, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "698.54MB/s", - "input_bw": "9.61MB/s", - "reconnects": 38351, - "status_2xx": 1007804, + "bandwidth": "718.79MB/s", + "input_bw": "9.93MB/s", + "reconnects": 39728, + "status_2xx": 1040972, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -156,19 +156,19 @@ "json-comp-16384": { "framework": "sinatra", "language": "Ruby", - "rps": 121500, - "avg_latency": "79.17ms", - "p99_latency": "298.80ms", - "cpu": "6219.4%", - "memory": "4.5GiB", + "rps": 125368, + "avg_latency": "71.71ms", + "p99_latency": "246.60ms", + "cpu": "6298.4%", + "memory": "5.0GiB", "connections": 16384, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "164.25MB/s", - "input_bw": "9.04MB/s", - "reconnects": 18886, - "status_2xx": 607504, + "bandwidth": "167.43MB/s", + "input_bw": "9.33MB/s", + "reconnects": 20746, + "status_2xx": 626840, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -176,19 +176,19 @@ "json-comp-4096": { "framework": "sinatra", "language": "Ruby", - "rps": 123912, - "avg_latency": "30.05ms", - "p99_latency": "53.70ms", - "cpu": "6531.1%", - "memory": "4.4GiB", + "rps": 127744, + "avg_latency": "28.79ms", + "p99_latency": "58.80ms", + "cpu": "6446.9%", + "memory": "4.8GiB", "connections": 4096, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "167.50MB/s", - "input_bw": "9.22MB/s", - "reconnects": 22795, - "status_2xx": 619564, + "bandwidth": "170.53MB/s", + "input_bw": "9.50MB/s", + "reconnects": 23637, + "status_2xx": 638723, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -196,19 +196,19 @@ "json-comp-512": { "framework": "sinatra", "language": "Ruby", - "rps": 118140, - "avg_latency": "4.33ms", - "p99_latency": "18.60ms", - "cpu": "6386.9%", - "memory": "4.6GiB", + "rps": 117317, + "avg_latency": "4.36ms", + "p99_latency": "17.90ms", + "cpu": "6439.8%", + "memory": "4.9GiB", "connections": 512, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "159.72MB/s", - "input_bw": "8.79MB/s", - "reconnects": 23502, - "status_2xx": 590703, + "bandwidth": "156.71MB/s", + "input_bw": "8.73MB/s", + "reconnects": 23401, + "status_2xx": 586585, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -216,18 +216,18 @@ "json-tls-4096": { "framework": "sinatra", "language": "Ruby", - "rps": 185424, - "avg_latency": "21.95ms", - "p99_latency": "21.95ms", - "cpu": "6576.4%", - "memory": "6.0GiB", + "rps": 187170, + "avg_latency": "21.67ms", + "p99_latency": "171.52ms", + "cpu": "6532.8%", + "memory": "6.6GiB", "connections": 4096, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "642.18MB", + "bandwidth": "645.23MB", "reconnects": 0, - "status_2xx": 944919, + "status_2xx": 954558, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -235,19 +235,19 @@ "limited-conn-4096": { "framework": "sinatra", "language": "Ruby", - "rps": 39840, - "avg_latency": "90.64ms", - "p99_latency": "201.50ms", - "cpu": "2868.2%", + "rps": 40307, + "avg_latency": "91.90ms", + "p99_latency": "188.40ms", + "cpu": "3123.7%", "memory": "4.3GiB", "connections": 4096, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "4.03MB/s", - "input_bw": "3.08MB/s", - "reconnects": 18134, - "status_2xx": 199203, + "bandwidth": "3.42MB/s", + "input_bw": "3.11MB/s", + "reconnects": 18469, + "status_2xx": 201537, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -255,19 +255,19 @@ "limited-conn-512": { "framework": "sinatra", "language": "Ruby", - "rps": 37259, + "rps": 37267, "avg_latency": "13.73ms", - "p99_latency": "49.50ms", - "cpu": "2830.5%", - "memory": "3.5GiB", + "p99_latency": "50.40ms", + "cpu": "2811.9%", + "memory": "3.8GiB", "connections": 512, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "3.77MB/s", + "bandwidth": "3.16MB/s", "input_bw": "2.88MB/s", - "reconnects": 18504, - "status_2xx": 186296, + "reconnects": 18576, + "status_2xx": 186336, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -275,18 +275,18 @@ "pipelined-4096": { "framework": "sinatra", "language": "Ruby", - "rps": 427147, - "avg_latency": "135.91ms", - "p99_latency": "293.60ms", - "cpu": "6519.5%", - "memory": "2.1GiB", + "rps": 486654, + "avg_latency": "119.14ms", + "p99_latency": "238.70ms", + "cpu": "6485.8%", + "memory": "2.0GiB", "connections": 4096, "threads": 64, "duration": "5s", "pipeline": 16, - "bandwidth": "43.17MB/s", - "reconnects": 0, - "status_2xx": 2135735, + "bandwidth": "41.29MB/s", + "reconnects": 66, + "status_2xx": 2433270, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -294,18 +294,18 @@ "pipelined-512": { "framework": "sinatra", "language": "Ruby", - "rps": 430404, - "avg_latency": "18.89ms", - "p99_latency": "55.30ms", - "cpu": "6519.8%", - "memory": "2.1GiB", + "rps": 483705, + "avg_latency": "16.81ms", + "p99_latency": "53.40ms", + "cpu": "6390.2%", + "memory": "2.0GiB", "connections": 512, "threads": 64, "duration": "5s", "pipeline": 16, - "bandwidth": "43.49MB/s", - "reconnects": 1911, - "status_2xx": 2152021, + "bandwidth": "41.05MB/s", + "reconnects": 2211, + "status_2xx": 2418526, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -313,18 +313,18 @@ "static-1024": { "framework": "sinatra", "language": "Ruby", - "rps": 23486, - "avg_latency": "43.83ms", - "p99_latency": "43.83ms", - "cpu": "6528.3%", - "memory": "6.6GiB", + "rps": 23629, + "avg_latency": "43.50ms", + "p99_latency": "190.85ms", + "cpu": "6508.1%", + "memory": "7.0GiB", "connections": 1024, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "418.66MB", + "bandwidth": "421.24MB", "reconnects": 0, - "status_2xx": 119767, + "status_2xx": 120516, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -332,18 +332,18 @@ "static-4096": { "framework": "sinatra", "language": "Ruby", - "rps": 23295, - "avg_latency": "163.65ms", - "p99_latency": "163.65ms", - "cpu": "6419.6%", - "memory": "7.0GiB", + "rps": 23440, + "avg_latency": "161.95ms", + "p99_latency": "451.41ms", + "cpu": "6506.1%", + "memory": "7.1GiB", "connections": 4096, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "415.51MB", + "bandwidth": "417.78MB", "reconnects": 0, - "status_2xx": 118915, + "status_2xx": 119583, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -351,18 +351,18 @@ "static-6800": { "framework": "sinatra", "language": "Ruby", - "rps": 23215, - "avg_latency": "255.93ms", - "p99_latency": "255.93ms", - "cpu": "6388.4%", - "memory": "7.1GiB", + "rps": 23501, + "avg_latency": "250.55ms", + "p99_latency": "890.55ms", + "cpu": "6467.5%", + "memory": "6.9GiB", "connections": 6800, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "413.75MB", + "bandwidth": "418.94MB", "reconnects": 0, - "status_2xx": 118479, + "status_2xx": 119864, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -370,18 +370,18 @@ "static-tls-1024": { "framework": "sinatra", "language": "Ruby", - "rps": 21773, - "avg_latency": "46.94ms", - "p99_latency": "240.50ms", - "cpu": "6508.7%", + "rps": 21699, + "avg_latency": "47.18ms", + "p99_latency": "281.02ms", + "cpu": "6516.7%", "memory": "7.2GiB", "connections": 1024, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "388.03MB", + "bandwidth": "386.78MB", "reconnects": 0, - "status_2xx": 111047, + "status_2xx": 110660, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -389,18 +389,18 @@ "static-tls-4096": { "framework": "sinatra", "language": "Ruby", - "rps": 21485, - "avg_latency": "182.58ms", - "p99_latency": "459.08ms", - "cpu": "6453.9%", - "memory": "7.4GiB", + "rps": 21362, + "avg_latency": "183.80ms", + "p99_latency": "562.77ms", + "cpu": "6452.4%", + "memory": "7.5GiB", "connections": 4096, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "383.06MB", + "bandwidth": "380.75MB", "reconnects": 0, - "status_2xx": 109577, + "status_2xx": 108955, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -408,18 +408,18 @@ "static-tls-6800": { "framework": "sinatra", "language": "Ruby", - "rps": 21187, - "avg_latency": "291.59ms", - "p99_latency": "632.66ms", - "cpu": "6516.4%", - "memory": "7.4GiB", + "rps": 21013, + "avg_latency": "289.10ms", + "p99_latency": "719.74ms", + "cpu": "6403.7%", + "memory": "7.8GiB", "connections": 6800, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "377.65MB", + "bandwidth": "374.55MB", "reconnects": 0, - "status_2xx": 108062, + "status_2xx": 107170, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -427,19 +427,19 @@ "upload-256": { "framework": "sinatra", "language": "Ruby", - "rps": 921, - "avg_latency": "262.84ms", - "p99_latency": "1.39s", - "cpu": "6288.4%", - "memory": "8.3GiB", + "rps": 905, + "avg_latency": "271.02ms", + "p99_latency": "1.16s", + "cpu": "6348.1%", + "memory": "8.4GiB", "connections": 256, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "100.03KB/s", - "input_bw": "7.31GB/s", - "reconnects": 829, - "status_2xx": 4606, + "bandwidth": "83.28KB/s", + "input_bw": "7.18GB/s", + "reconnects": 819, + "status_2xx": 4525, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -447,19 +447,19 @@ "upload-32": { "framework": "sinatra", "language": "Ruby", - "rps": 949, - "avg_latency": "33.63ms", - "p99_latency": "133.90ms", - "cpu": "3134.5%", - "memory": "8.6GiB", + "rps": 957, + "avg_latency": "33.33ms", + "p99_latency": "127.00ms", + "cpu": "3079.6%", + "memory": "8.2GiB", "connections": 32, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "103.15KB/s", - "input_bw": "7.53GB/s", - "reconnects": 943, - "status_2xx": 4749, + "bandwidth": "88.14KB/s", + "input_bw": "7.59GB/s", + "reconnects": 947, + "status_2xx": 4789, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 diff --git a/site/static/logs/api-16/1024/sinatra.log b/site/static/logs/api-16/1024/sinatra.log index 648400358..08599d48c 100644 --- a/site/static/logs/api-16/1024/sinatra.log +++ b/site/static/logs/api-16/1024/sinatra.log @@ -1,6 +1,6 @@ [1] Puma starting in cluster mode... [1] * Puma version: 8.0.1 ("Into the Arena") -[1] * Ruby version: ruby 4.0.5 (2026-05-20 revision 64336ffd0e) +YJIT +MN +PRISM [x86_64-linux] +[1] * Ruby version: ruby 4.0.6 (2026-07-14 revision 03b6d3f889) +YJIT +MN +PRISM [x86_64-linux] [1] * Min threads: 3 [1] * Max threads: 3 [1] * Environment: production @@ -15,18 +15,18 @@ [1] ! This setting is known to cause performance regressions with Puma. [1] ! Consider disabling this environment variable: https://github.com/puma/puma/issues/3720 [1] - Worker 0 (PID: 9) booted in 0.03s, phase: 0 -[1] - Worker 1 (PID: 12) booted in 0.03s, phase: 0 -[1] - Worker 2 (PID: 15) booted in 0.03s, phase: 0 -[1] - Worker 3 (PID: 19) booted in 0.03s, phase: 0 -[1] - Worker 4 (PID: 23) booted in 0.02s, phase: 0 -[1] - Worker 5 (PID: 27) booted in 0.02s, phase: 0 -[1] - Worker 6 (PID: 31) booted in 0.02s, phase: 0 -[1] - Worker 7 (PID: 35) booted in 0.02s, phase: 0 -[1] - Worker 8 (PID: 40) booted in 0.02s, phase: 0 -[1] - Worker 9 (PID: 44) booted in 0.02s, phase: 0 -[1] - Worker 10 (PID: 49) booted in 0.02s, phase: 0 -[1] - Worker 11 (PID: 54) booted in 0.01s, phase: 0 -[1] - Worker 12 (PID: 59) booted in 0.01s, phase: 0 -[1] - Worker 13 (PID: 68) booted in 0.01s, phase: 0 -[1] - Worker 14 (PID: 74) booted in 0.01s, phase: 0 -[1] - Worker 15 (PID: 80) booted in 0.01s, phase: 0 +[1] - Worker 1 (PID: 13) booted in 0.03s, phase: 0 +[1] - Worker 2 (PID: 17) booted in 0.02s, phase: 0 +[1] - Worker 3 (PID: 21) booted in 0.02s, phase: 0 +[1] - Worker 4 (PID: 25) booted in 0.02s, phase: 0 +[1] - Worker 5 (PID: 29) booted in 0.02s, phase: 0 +[1] - Worker 6 (PID: 33) booted in 0.02s, phase: 0 +[1] - Worker 7 (PID: 37) booted in 0.02s, phase: 0 +[1] - Worker 8 (PID: 42) booted in 0.02s, phase: 0 +[1] - Worker 9 (PID: 47) booted in 0.02s, phase: 0 +[1] - Worker 10 (PID: 52) booted in 0.01s, phase: 0 +[1] - Worker 11 (PID: 57) booted in 0.01s, phase: 0 +[1] - Worker 12 (PID: 62) booted in 0.01s, phase: 0 +[1] - Worker 13 (PID: 69) booted in 0.01s, phase: 0 +[1] - Worker 14 (PID: 76) booted in 0.01s, phase: 0 +[1] - Worker 15 (PID: 82) booted in 0.01s, phase: 0 diff --git a/site/static/logs/api-4/256/sinatra.log b/site/static/logs/api-4/256/sinatra.log index 2a4016dda..f167a31fa 100644 --- a/site/static/logs/api-4/256/sinatra.log +++ b/site/static/logs/api-4/256/sinatra.log @@ -1,6 +1,6 @@ [1] Puma starting in cluster mode... [1] * Puma version: 8.0.1 ("Into the Arena") -[1] * Ruby version: ruby 4.0.5 (2026-05-20 revision 64336ffd0e) +YJIT +MN +PRISM [x86_64-linux] +[1] * Ruby version: ruby 4.0.6 (2026-07-14 revision 03b6d3f889) +YJIT +MN +PRISM [x86_64-linux] [1] * Min threads: 3 [1] * Max threads: 3 [1] * Environment: production @@ -14,7 +14,7 @@ [1] ! WARNING: Detected `RUBY_MN_THREADS=1` [1] ! This setting is known to cause performance regressions with Puma. [1] ! Consider disabling this environment variable: https://github.com/puma/puma/issues/3720 -[1] - Worker 1 (PID: 12) booted in 0.0s, phase: 0 [1] - Worker 0 (PID: 9) booted in 0.01s, phase: 0 -[1] - Worker 2 (PID: 15) booted in 0.0s, phase: 0 -[1] - Worker 3 (PID: 20) booted in 0.01s, phase: 0 +[1] - Worker 1 (PID: 13) booted in 0.0s, phase: 0 +[1] - Worker 2 (PID: 17) booted in 0.0s, phase: 0 +[1] - Worker 3 (PID: 21) booted in 0.0s, phase: 0 diff --git a/site/static/logs/async-db/1024/sinatra.log b/site/static/logs/async-db/1024/sinatra.log index efe7ccd1a..8315abde9 100644 --- a/site/static/logs/async-db/1024/sinatra.log +++ b/site/static/logs/async-db/1024/sinatra.log @@ -1,80 +1,74297 @@ -[1] Puma starting in cluster mode... -[1] * Puma version: 8.0.1 ("Into the Arena") -[1] * Ruby version: ruby 4.0.5 (2026-05-20 revision 64336ffd0e) +YJIT +MN +PRISM [x86_64-linux] -[1] * Min threads: 3 -[1] * Max threads: 3 -[1] * Environment: production -[1] * Master PID: 1 -[1] * Workers: 64 -[1] * Restarts: (✔) hot (✖) phased (✖) refork -[1] * Preloading application -[1] * Listening on http://0.0.0.0:8080 -[1] * Listening on ssl://0.0.0.0:8081?cert=/certs/server.crt&key=/certs/server.key -[1] Use Ctrl-C to stop -[1] ! WARNING: Detected `RUBY_MN_THREADS=1` -[1] ! This setting is known to cause performance regressions with Puma. -[1] ! Consider disabling this environment variable: https://github.com/puma/puma/issues/3720 -[1] - Worker 0 (PID: 9) booted in 0.12s, phase: 0 -[1] - Worker 1 (PID: 12) booted in 0.11s, phase: 0 -[1] - Worker 2 (PID: 15) booted in 0.11s, phase: 0 -[1] - Worker 3 (PID: 20) booted in 0.11s, phase: 0 -[1] - Worker 4 (PID: 24) booted in 0.11s, phase: 0 -[1] - Worker 5 (PID: 28) booted in 0.11s, phase: 0 -[1] - Worker 6 (PID: 32) booted in 0.1s, phase: 0 -[1] - Worker 7 (PID: 37) booted in 0.1s, phase: 0 -[1] - Worker 8 (PID: 43) booted in 0.1s, phase: 0 -[1] - Worker 9 (PID: 48) booted in 0.1s, phase: 0 -[1] - Worker 10 (PID: 52) booted in 0.1s, phase: 0 -[1] - Worker 11 (PID: 57) booted in 0.09s, phase: 0 -[1] - Worker 12 (PID: 64) booted in 0.09s, phase: 0 -[1] - Worker 13 (PID: 71) booted in 0.09s, phase: 0 -[1] - Worker 14 (PID: 77) booted in 0.09s, phase: 0 -[1] - Worker 15 (PID: 82) booted in 0.09s, phase: 0 -[1] - Worker 16 (PID: 87) booted in 0.09s, phase: 0 -[1] - Worker 17 (PID: 92) booted in 0.09s, phase: 0 -[1] - Worker 18 (PID: 96) booted in 0.09s, phase: 0 -[1] - Worker 19 (PID: 102) booted in 0.09s, phase: 0 -[1] - Worker 20 (PID: 108) booted in 0.09s, phase: 0 -[1] - Worker 21 (PID: 113) booted in 0.09s, phase: 0 -[1] - Worker 22 (PID: 118) booted in 0.1s, phase: 0 -[1] - Worker 23 (PID: 123) booted in 0.1s, phase: 0 -[1] - Worker 24 (PID: 128) booted in 0.09s, phase: 0 -[1] - Worker 25 (PID: 134) booted in 0.09s, phase: 0 -[1] - Worker 26 (PID: 140) booted in 0.09s, phase: 0 -[1] - Worker 27 (PID: 146) booted in 0.09s, phase: 0 -[1] - Worker 28 (PID: 151) booted in 0.09s, phase: 0 -[1] - Worker 29 (PID: 159) booted in 0.09s, phase: 0 -[1] - Worker 30 (PID: 169) booted in 0.09s, phase: 0 -[1] - Worker 31 (PID: 175) booted in 0.08s, phase: 0 -[1] - Worker 32 (PID: 180) booted in 0.08s, phase: 0 -[1] - Worker 33 (PID: 185) booted in 0.08s, phase: 0 -[1] - Worker 34 (PID: 192) booted in 0.08s, phase: 0 -[1] - Worker 35 (PID: 198) booted in 0.08s, phase: 0 -[1] - Worker 36 (PID: 203) booted in 0.08s, phase: 0 -[1] - Worker 37 (PID: 210) booted in 0.08s, phase: 0 -[1] - Worker 38 (PID: 214) booted in 0.08s, phase: 0 -[1] - Worker 39 (PID: 219) booted in 0.07s, phase: 0 -[1] - Worker 40 (PID: 224) booted in 0.07s, phase: 0 -[1] - Worker 41 (PID: 230) booted in 0.07s, phase: 0 -[1] - Worker 42 (PID: 236) booted in 0.07s, phase: 0 -[1] - Worker 43 (PID: 244) booted in 0.07s, phase: 0 -[1] - Worker 44 (PID: 249) booted in 0.07s, phase: 0 -[1] - Worker 45 (PID: 254) booted in 0.07s, phase: 0 -[1] - Worker 46 (PID: 260) booted in 0.06s, phase: 0 -[1] - Worker 47 (PID: 266) booted in 0.06s, phase: 0 -[1] - Worker 48 (PID: 274) booted in 0.06s, phase: 0 -[1] - Worker 49 (PID: 280) booted in 0.06s, phase: 0 -[1] - Worker 50 (PID: 286) booted in 0.06s, phase: 0 -[1] - Worker 51 (PID: 290) booted in 0.06s, phase: 0 -[1] - Worker 52 (PID: 296) booted in 0.05s, phase: 0 -[1] - Worker 53 (PID: 303) booted in 0.05s, phase: 0 -[1] - Worker 54 (PID: 307) booted in 0.05s, phase: 0 -[1] - Worker 55 (PID: 314) booted in 0.05s, phase: 0 -[1] - Worker 57 (PID: 325) booted in 0.05s, phase: 0 -[1] - Worker 56 (PID: 319) booted in 0.05s, phase: 0 -[1] - Worker 58 (PID: 329) booted in 0.05s, phase: 0 -[1] - Worker 59 (PID: 335) booted in 0.04s, phase: 0 -[1] - Worker 60 (PID: 343) booted in 0.04s, phase: 0 -[1] - Worker 61 (PID: 347) booted in 0.04s, phase: 0 -[1] - Worker 62 (PID: 352) booted in 0.04s, phase: 0 -[1] - Worker 63 (PID: 361) booted in 0.04s, phase: 0 +[httparena] container log was 115734225 bytes and has been +[httparena] truncated to the last 8000000; a framework that +[httparena] logs per request is usually the cause. + +ize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' +2026-08-25 01:19:01 - PG::ConnectionBad - connection to server at "127.0.0.1", port 5432 failed: FATAL: sorry, too many clients already (PG::ConnectionBad): + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:751:in 'PG::Connection::Pollable#polling_loop' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:795:in 'PG::Connection#async_connect_or_reset' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:951:in 'PG::Connection.connect_to_hosts' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg/connection.rb:871:in 'PG::Connection.new' + /app/vendor/bundle/ruby/4.0.0/gems/pg-1.6.3-x86_64-linux/lib/pg.rb:88:in 'PG.connect' + /app/app.rb:251:in 'block in App.get_async_db' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:231:in 'ConnectionPool::TimedStack#try_create' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:71:in 'block (2 levels) in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'Kernel#loop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:65:in 'block in ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'Thread::Mutex#synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool/timed_stack.rb:64:in 'ConnectionPool::TimedStack#pop' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:116:in 'ConnectionPool#checkout' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:65:in 'block in ConnectionPool#with' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'Thread.handle_interrupt' + /app/vendor/bundle/ruby/4.0.0/gems/connection_pool-3.0.2/lib/connection_pool.rb:64:in 'ConnectionPool#with' + /app/app.rb:117:in 'block in ' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'Method#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1811:in 'block in Sinatra::Base.compile!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (3 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1092:in 'Sinatra::Base#route_eval' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1074:in 'block (2 levels) in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1123:in 'block in Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1121:in 'Sinatra::Base#process_route' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1072:in 'block in Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Array#each' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1069:in 'Sinatra::Base#route!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1197:in 'block in Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1192:in 'Sinatra::Base#dispatch!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'block in Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Kernel#catch' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1168:in 'Sinatra::Base#invoke' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1004:in 'Sinatra::Base#call!' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:993:in 'Sinatra::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-protection-4.2.1/lib/rack/protection/base.rb:53:in 'Rack::Protection::Base#call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:15:in 'Rack::Head#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:227:in 'Sinatra::ExtendedRack#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:2144:in 'Sinatra::Wrapper#call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'block in Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1902:in 'Sinatra::Base.synchronize' + /app/vendor/bundle/ruby/4.0.0/gems/sinatra-4.2.1/lib/sinatra/base.rb:1681:in 'Sinatra::Base.call' + /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/deflater.rb:47:in 'Rack::Deflater#call' + config.ru:15:in 'MarkAsIOBoundThreads#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/configuration.rb:305:in 'Puma::Configuration::ConfigMiddleware#call' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:79:in 'block in Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:434:in 'Puma::ThreadPool#with_force_shutdown' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/response.rb:78:in 'Puma::Response#handle_request' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:508:in 'Puma::Server#process_client' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/server.rb:263:in 'block in Puma::Server#run' + /app/vendor/bundle/ruby/4.0.0/gems/puma-8.0.1/lib/puma/thread_pool.rb:246:in 'block in Puma::ThreadPool#spawn_thread' diff --git a/site/static/logs/baseline/4096/sinatra.log b/site/static/logs/baseline/4096/sinatra.log index dc0fc75a0..f4286c4c2 100644 --- a/site/static/logs/baseline/4096/sinatra.log +++ b/site/static/logs/baseline/4096/sinatra.log @@ -1,6 +1,6 @@ [1] Puma starting in cluster mode... [1] * Puma version: 8.0.1 ("Into the Arena") -[1] * Ruby version: ruby 4.0.5 (2026-05-20 revision 64336ffd0e) +YJIT +MN +PRISM [x86_64-linux] +[1] * Ruby version: ruby 4.0.6 (2026-07-14 revision 03b6d3f889) +YJIT +MN +PRISM [x86_64-linux] [1] * Min threads: 3 [1] * Max threads: 3 [1] * Environment: production @@ -14,67 +14,67 @@ [1] ! WARNING: Detected `RUBY_MN_THREADS=1` [1] ! This setting is known to cause performance regressions with Puma. [1] ! Consider disabling this environment variable: https://github.com/puma/puma/issues/3720 -[1] - Worker 0 (PID: 9) booted in 0.11s, phase: 0 -[1] - Worker 1 (PID: 12) booted in 0.11s, phase: 0 -[1] - Worker 2 (PID: 16) booted in 0.11s, phase: 0 -[1] - Worker 3 (PID: 19) booted in 0.11s, phase: 0 -[1] - Worker 4 (PID: 23) booted in 0.11s, phase: 0 -[1] - Worker 5 (PID: 27) booted in 0.1s, phase: 0 -[1] - Worker 6 (PID: 31) booted in 0.1s, phase: 0 -[1] - Worker 7 (PID: 35) booted in 0.1s, phase: 0 -[1] - Worker 8 (PID: 39) booted in 0.1s, phase: 0 -[1] - Worker 9 (PID: 45) booted in 0.1s, phase: 0 -[1] - Worker 10 (PID: 48) booted in 0.1s, phase: 0 -[1] - Worker 11 (PID: 53) booted in 0.1s, phase: 0 -[1] - Worker 12 (PID: 58) booted in 0.09s, phase: 0 -[1] - Worker 13 (PID: 67) booted in 0.09s, phase: 0 -[1] - Worker 14 (PID: 73) booted in 0.09s, phase: 0 -[1] - Worker 15 (PID: 78) booted in 0.09s, phase: 0 -[1] - Worker 16 (PID: 84) booted in 0.09s, phase: 0 -[1] - Worker 17 (PID: 89) booted in 0.09s, phase: 0 -[1] - Worker 18 (PID: 95) booted in 0.09s, phase: 0 -[1] - Worker 19 (PID: 102) booted in 0.09s, phase: 0 -[1] - Worker 20 (PID: 107) booted in 0.09s, phase: 0 -[1] - Worker 21 (PID: 112) booted in 0.09s, phase: 0 -[1] - Worker 22 (PID: 117) booted in 0.1s, phase: 0 -[1] - Worker 23 (PID: 122) booted in 0.1s, phase: 0 -[1] - Worker 24 (PID: 130) booted in 0.09s, phase: 0 -[1] - Worker 25 (PID: 137) booted in 0.09s, phase: 0 -[1] - Worker 26 (PID: 142) booted in 0.09s, phase: 0 -[1] - Worker 27 (PID: 147) booted in 0.09s, phase: 0 -[1] - Worker 28 (PID: 153) booted in 0.09s, phase: 0 -[1] - Worker 29 (PID: 163) booted in 0.09s, phase: 0 -[1] - Worker 30 (PID: 173) booted in 0.08s, phase: 0 -[1] - Worker 31 (PID: 178) booted in 0.08s, phase: 0 -[1] - Worker 32 (PID: 183) booted in 0.08s, phase: 0 -[1] - Worker 33 (PID: 188) booted in 0.08s, phase: 0 -[1] - Worker 34 (PID: 193) booted in 0.08s, phase: 0 -[1] - Worker 35 (PID: 199) booted in 0.08s, phase: 0 -[1] - Worker 36 (PID: 203) booted in 0.08s, phase: 0 -[1] - Worker 37 (PID: 209) booted in 0.08s, phase: 0 -[1] - Worker 38 (PID: 213) booted in 0.07s, phase: 0 -[1] - Worker 39 (PID: 219) booted in 0.07s, phase: 0 -[1] - Worker 40 (PID: 224) booted in 0.07s, phase: 0 -[1] - Worker 41 (PID: 231) booted in 0.07s, phase: 0 -[1] - Worker 42 (PID: 235) booted in 0.07s, phase: 0 -[1] - Worker 43 (PID: 243) booted in 0.07s, phase: 0 -[1] - Worker 44 (PID: 248) booted in 0.07s, phase: 0 -[1] - Worker 45 (PID: 254) booted in 0.07s, phase: 0 -[1] - Worker 46 (PID: 258) booted in 0.06s, phase: 0 -[1] - Worker 47 (PID: 264) booted in 0.06s, phase: 0 -[1] - Worker 48 (PID: 270) booted in 0.06s, phase: 0 -[1] - Worker 49 (PID: 275) booted in 0.06s, phase: 0 -[1] - Worker 50 (PID: 281) booted in 0.06s, phase: 0 -[1] - Worker 51 (PID: 287) booted in 0.06s, phase: 0 -[1] - Worker 52 (PID: 293) booted in 0.06s, phase: 0 -[1] - Worker 53 (PID: 299) booted in 0.05s, phase: 0 -[1] - Worker 54 (PID: 304) booted in 0.05s, phase: 0 -[1] - Worker 56 (PID: 316) booted in 0.05s, phase: 0 -[1] - Worker 55 (PID: 311) booted in 0.05s, phase: 0 -[1] - Worker 57 (PID: 323) booted in 0.05s, phase: 0 -[1] - Worker 58 (PID: 331) booted in 0.05s, phase: 0 -[1] - Worker 59 (PID: 338) booted in 0.04s, phase: 0 -[1] - Worker 60 (PID: 344) booted in 0.04s, phase: 0 -[1] - Worker 61 (PID: 350) booted in 0.04s, phase: 0 -[1] - Worker 62 (PID: 356) booted in 0.04s, phase: 0 -[1] - Worker 63 (PID: 361) booted in 0.04s, phase: 0 +[1] - Worker 0 (PID: 9) booted in 0.1s, phase: 0 +[1] - Worker 1 (PID: 13) booted in 0.1s, phase: 0 +[1] - Worker 2 (PID: 17) booted in 0.1s, phase: 0 +[1] - Worker 3 (PID: 21) booted in 0.1s, phase: 0 +[1] - Worker 4 (PID: 25) booted in 0.09s, phase: 0 +[1] - Worker 5 (PID: 29) booted in 0.09s, phase: 0 +[1] - Worker 6 (PID: 33) booted in 0.09s, phase: 0 +[1] - Worker 7 (PID: 37) booted in 0.09s, phase: 0 +[1] - Worker 8 (PID: 42) booted in 0.09s, phase: 0 +[1] - Worker 9 (PID: 47) booted in 0.09s, phase: 0 +[1] - Worker 10 (PID: 52) booted in 0.09s, phase: 0 +[1] - Worker 11 (PID: 57) booted in 0.09s, phase: 0 +[1] - Worker 12 (PID: 62) booted in 0.08s, phase: 0 +[1] - Worker 13 (PID: 68) booted in 0.08s, phase: 0 +[1] - Worker 14 (PID: 76) booted in 0.08s, phase: 0 +[1] - Worker 15 (PID: 82) booted in 0.08s, phase: 0 +[1] - Worker 16 (PID: 88) booted in 0.08s, phase: 0 +[1] - Worker 17 (PID: 94) booted in 0.08s, phase: 0 +[1] - Worker 18 (PID: 99) booted in 0.08s, phase: 0 +[1] - Worker 19 (PID: 105) booted in 0.08s, phase: 0 +[1] - Worker 20 (PID: 110) booted in 0.07s, phase: 0 +[1] - Worker 21 (PID: 116) booted in 0.07s, phase: 0 +[1] - Worker 22 (PID: 122) booted in 0.07s, phase: 0 +[1] - Worker 23 (PID: 128) booted in 0.07s, phase: 0 +[1] - Worker 24 (PID: 134) booted in 0.07s, phase: 0 +[1] - Worker 25 (PID: 139) booted in 0.07s, phase: 0 +[1] - Worker 26 (PID: 145) booted in 0.07s, phase: 0 +[1] - Worker 27 (PID: 150) booted in 0.07s, phase: 0 +[1] - Worker 28 (PID: 156) booted in 0.07s, phase: 0 +[1] - Worker 29 (PID: 163) booted in 0.06s, phase: 0 +[1] - Worker 30 (PID: 174) booted in 0.06s, phase: 0 +[1] - Worker 31 (PID: 178) booted in 0.06s, phase: 0 +[1] - Worker 32 (PID: 184) booted in 0.06s, phase: 0 +[1] - Worker 33 (PID: 190) booted in 0.06s, phase: 0 +[1] - Worker 34 (PID: 195) booted in 0.06s, phase: 0 +[1] - Worker 35 (PID: 200) booted in 0.06s, phase: 0 +[1] - Worker 36 (PID: 205) booted in 0.05s, phase: 0 +[1] - Worker 37 (PID: 211) booted in 0.05s, phase: 0 +[1] - Worker 38 (PID: 216) booted in 0.05s, phase: 0 +[1] - Worker 39 (PID: 222) booted in 0.05s, phase: 0 +[1] - Worker 40 (PID: 228) booted in 0.05s, phase: 0 +[1] - Worker 41 (PID: 234) booted in 0.05s, phase: 0 +[1] - Worker 42 (PID: 239) booted in 0.05s, phase: 0 +[1] - Worker 43 (PID: 244) booted in 0.05s, phase: 0 +[1] - Worker 44 (PID: 250) booted in 0.04s, phase: 0 +[1] - Worker 45 (PID: 255) booted in 0.04s, phase: 0 +[1] - Worker 46 (PID: 260) booted in 0.04s, phase: 0 +[1] - Worker 47 (PID: 266) booted in 0.04s, phase: 0 +[1] - Worker 48 (PID: 272) booted in 0.04s, phase: 0 +[1] - Worker 49 (PID: 278) booted in 0.04s, phase: 0 +[1] - Worker 50 (PID: 284) booted in 0.04s, phase: 0 +[1] - Worker 51 (PID: 290) booted in 0.04s, phase: 0 +[1] - Worker 52 (PID: 296) booted in 0.03s, phase: 0 +[1] - Worker 53 (PID: 302) booted in 0.03s, phase: 0 +[1] - Worker 54 (PID: 309) booted in 0.03s, phase: 0 +[1] - Worker 55 (PID: 314) booted in 0.03s, phase: 0 +[1] - Worker 56 (PID: 320) booted in 0.03s, phase: 0 +[1] - Worker 57 (PID: 327) booted in 0.03s, phase: 0 +[1] - Worker 58 (PID: 332) booted in 0.03s, phase: 0 +[1] - Worker 59 (PID: 339) booted in 0.03s, phase: 0 +[1] - Worker 60 (PID: 345) booted in 0.02s, phase: 0 +[1] - Worker 61 (PID: 351) booted in 0.02s, phase: 0 +[1] - Worker 62 (PID: 357) booted in 0.02s, phase: 0 +[1] - Worker 63 (PID: 363) booted in 0.02s, phase: 0 diff --git a/site/static/logs/baseline/512/sinatra.log b/site/static/logs/baseline/512/sinatra.log index 71561738a..8ea686c64 100644 --- a/site/static/logs/baseline/512/sinatra.log +++ b/site/static/logs/baseline/512/sinatra.log @@ -1,6 +1,6 @@ [1] Puma starting in cluster mode... [1] * Puma version: 8.0.1 ("Into the Arena") -[1] * Ruby version: ruby 4.0.5 (2026-05-20 revision 64336ffd0e) +YJIT +MN +PRISM [x86_64-linux] +[1] * Ruby version: ruby 4.0.6 (2026-07-14 revision 03b6d3f889) +YJIT +MN +PRISM [x86_64-linux] [1] * Min threads: 3 [1] * Max threads: 3 [1] * Environment: production @@ -14,67 +14,67 @@ [1] ! WARNING: Detected `RUBY_MN_THREADS=1` [1] ! This setting is known to cause performance regressions with Puma. [1] ! Consider disabling this environment variable: https://github.com/puma/puma/issues/3720 -[1] - Worker 0 (PID: 9) booted in 0.11s, phase: 0 -[1] - Worker 1 (PID: 12) booted in 0.11s, phase: 0 -[1] - Worker 2 (PID: 15) booted in 0.11s, phase: 0 -[1] - Worker 3 (PID: 19) booted in 0.11s, phase: 0 -[1] - Worker 4 (PID: 23) booted in 0.11s, phase: 0 -[1] - Worker 5 (PID: 28) booted in 0.1s, phase: 0 -[1] - Worker 6 (PID: 31) booted in 0.1s, phase: 0 -[1] - Worker 7 (PID: 35) booted in 0.1s, phase: 0 -[1] - Worker 8 (PID: 40) booted in 0.1s, phase: 0 -[1] - Worker 9 (PID: 47) booted in 0.1s, phase: 0 -[1] - Worker 10 (PID: 52) booted in 0.1s, phase: 0 -[1] - Worker 11 (PID: 55) booted in 0.09s, phase: 0 -[1] - Worker 12 (PID: 60) booted in 0.09s, phase: 0 -[1] - Worker 13 (PID: 69) booted in 0.09s, phase: 0 -[1] - Worker 14 (PID: 76) booted in 0.09s, phase: 0 -[1] - Worker 15 (PID: 81) booted in 0.09s, phase: 0 -[1] - Worker 16 (PID: 87) booted in 0.09s, phase: 0 -[1] - Worker 17 (PID: 92) booted in 0.09s, phase: 0 -[1] - Worker 18 (PID: 98) booted in 0.09s, phase: 0 -[1] - Worker 19 (PID: 102) booted in 0.09s, phase: 0 -[1] - Worker 20 (PID: 107) booted in 0.09s, phase: 0 -[1] - Worker 21 (PID: 113) booted in 0.09s, phase: 0 -[1] - Worker 22 (PID: 118) booted in 0.1s, phase: 0 -[1] - Worker 23 (PID: 122) booted in 0.09s, phase: 0 -[1] - Worker 24 (PID: 129) booted in 0.09s, phase: 0 -[1] - Worker 25 (PID: 135) booted in 0.09s, phase: 0 -[1] - Worker 26 (PID: 139) booted in 0.09s, phase: 0 -[1] - Worker 27 (PID: 146) booted in 0.09s, phase: 0 -[1] - Worker 28 (PID: 152) booted in 0.09s, phase: 0 -[1] - Worker 29 (PID: 162) booted in 0.08s, phase: 0 -[1] - Worker 30 (PID: 170) booted in 0.08s, phase: 0 -[1] - Worker 32 (PID: 182) booted in 0.08s, phase: 0 -[1] - Worker 33 (PID: 186) booted in 0.08s, phase: 0 -[1] - Worker 31 (PID: 177) booted in 0.08s, phase: 0 -[1] - Worker 34 (PID: 192) booted in 0.08s, phase: 0 -[1] - Worker 35 (PID: 199) booted in 0.07s, phase: 0 -[1] - Worker 36 (PID: 207) booted in 0.07s, phase: 0 -[1] - Worker 37 (PID: 211) booted in 0.07s, phase: 0 -[1] - Worker 38 (PID: 216) booted in 0.07s, phase: 0 -[1] - Worker 39 (PID: 221) booted in 0.07s, phase: 0 -[1] - Worker 40 (PID: 225) booted in 0.07s, phase: 0 -[1] - Worker 41 (PID: 231) booted in 0.07s, phase: 0 -[1] - Worker 42 (PID: 236) booted in 0.07s, phase: 0 -[1] - Worker 43 (PID: 243) booted in 0.06s, phase: 0 -[1] - Worker 44 (PID: 247) booted in 0.06s, phase: 0 -[1] - Worker 45 (PID: 251) booted in 0.06s, phase: 0 -[1] - Worker 46 (PID: 256) booted in 0.06s, phase: 0 -[1] - Worker 47 (PID: 262) booted in 0.06s, phase: 0 -[1] - Worker 48 (PID: 268) booted in 0.06s, phase: 0 -[1] - Worker 49 (PID: 274) booted in 0.06s, phase: 0 -[1] - Worker 50 (PID: 280) booted in 0.06s, phase: 0 -[1] - Worker 51 (PID: 286) booted in 0.05s, phase: 0 -[1] - Worker 52 (PID: 291) booted in 0.05s, phase: 0 -[1] - Worker 53 (PID: 297) booted in 0.05s, phase: 0 -[1] - Worker 54 (PID: 303) booted in 0.05s, phase: 0 -[1] - Worker 55 (PID: 309) booted in 0.05s, phase: 0 -[1] - Worker 56 (PID: 316) booted in 0.05s, phase: 0 -[1] - Worker 57 (PID: 321) booted in 0.05s, phase: 0 -[1] - Worker 58 (PID: 327) booted in 0.05s, phase: 0 -[1] - Worker 59 (PID: 333) booted in 0.04s, phase: 0 -[1] - Worker 60 (PID: 339) booted in 0.04s, phase: 0 -[1] - Worker 61 (PID: 345) booted in 0.04s, phase: 0 -[1] - Worker 62 (PID: 351) booted in 0.04s, phase: 0 -[1] - Worker 63 (PID: 358) booted in 0.04s, phase: 0 +[1] - Worker 0 (PID: 9) booted in 0.1s, phase: 0 +[1] - Worker 1 (PID: 13) booted in 0.1s, phase: 0 +[1] - Worker 2 (PID: 17) booted in 0.1s, phase: 0 +[1] - Worker 3 (PID: 21) booted in 0.1s, phase: 0 +[1] - Worker 4 (PID: 25) booted in 0.1s, phase: 0 +[1] - Worker 5 (PID: 29) booted in 0.1s, phase: 0 +[1] - Worker 6 (PID: 33) booted in 0.09s, phase: 0 +[1] - Worker 7 (PID: 37) booted in 0.09s, phase: 0 +[1] - Worker 8 (PID: 42) booted in 0.09s, phase: 0 +[1] - Worker 9 (PID: 47) booted in 0.09s, phase: 0 +[1] - Worker 10 (PID: 52) booted in 0.09s, phase: 0 +[1] - Worker 11 (PID: 57) booted in 0.09s, phase: 0 +[1] - Worker 12 (PID: 62) booted in 0.08s, phase: 0 +[1] - Worker 13 (PID: 68) booted in 0.08s, phase: 0 +[1] - Worker 14 (PID: 76) booted in 0.08s, phase: 0 +[1] - Worker 15 (PID: 82) booted in 0.08s, phase: 0 +[1] - Worker 16 (PID: 88) booted in 0.08s, phase: 0 +[1] - Worker 17 (PID: 94) booted in 0.08s, phase: 0 +[1] - Worker 18 (PID: 100) booted in 0.08s, phase: 0 +[1] - Worker 19 (PID: 105) booted in 0.08s, phase: 0 +[1] - Worker 20 (PID: 110) booted in 0.08s, phase: 0 +[1] - Worker 21 (PID: 115) booted in 0.08s, phase: 0 +[1] - Worker 22 (PID: 120) booted in 0.08s, phase: 0 +[1] - Worker 23 (PID: 126) booted in 0.07s, phase: 0 +[1] - Worker 24 (PID: 132) booted in 0.07s, phase: 0 +[1] - Worker 25 (PID: 139) booted in 0.07s, phase: 0 +[1] - Worker 26 (PID: 145) booted in 0.07s, phase: 0 +[1] - Worker 27 (PID: 150) booted in 0.07s, phase: 0 +[1] - Worker 28 (PID: 156) booted in 0.07s, phase: 0 +[1] - Worker 29 (PID: 165) booted in 0.06s, phase: 0 +[1] - Worker 30 (PID: 175) booted in 0.06s, phase: 0 +[1] - Worker 31 (PID: 180) booted in 0.06s, phase: 0 +[1] - Worker 32 (PID: 186) booted in 0.06s, phase: 0 +[1] - Worker 33 (PID: 191) booted in 0.06s, phase: 0 +[1] - Worker 34 (PID: 196) booted in 0.06s, phase: 0 +[1] - Worker 35 (PID: 201) booted in 0.06s, phase: 0 +[1] - Worker 36 (PID: 207) booted in 0.06s, phase: 0 +[1] - Worker 37 (PID: 212) booted in 0.05s, phase: 0 +[1] - Worker 38 (PID: 217) booted in 0.05s, phase: 0 +[1] - Worker 39 (PID: 223) booted in 0.05s, phase: 0 +[1] - Worker 40 (PID: 229) booted in 0.05s, phase: 0 +[1] - Worker 41 (PID: 234) booted in 0.05s, phase: 0 +[1] - Worker 42 (PID: 239) booted in 0.05s, phase: 0 +[1] - Worker 43 (PID: 244) booted in 0.05s, phase: 0 +[1] - Worker 44 (PID: 250) booted in 0.05s, phase: 0 +[1] - Worker 45 (PID: 255) booted in 0.05s, phase: 0 +[1] - Worker 46 (PID: 260) booted in 0.04s, phase: 0 +[1] - Worker 47 (PID: 266) booted in 0.04s, phase: 0 +[1] - Worker 48 (PID: 273) booted in 0.04s, phase: 0 +[1] - Worker 49 (PID: 279) booted in 0.04s, phase: 0 +[1] - Worker 50 (PID: 285) booted in 0.04s, phase: 0 +[1] - Worker 51 (PID: 291) booted in 0.04s, phase: 0 +[1] - Worker 52 (PID: 297) booted in 0.04s, phase: 0 +[1] - Worker 53 (PID: 303) booted in 0.04s, phase: 0 +[1] - Worker 54 (PID: 309) booted in 0.03s, phase: 0 +[1] - Worker 55 (PID: 315) booted in 0.03s, phase: 0 +[1] - Worker 56 (PID: 321) booted in 0.03s, phase: 0 +[1] - Worker 57 (PID: 327) booted in 0.03s, phase: 0 +[1] - Worker 58 (PID: 333) booted in 0.03s, phase: 0 +[1] - Worker 59 (PID: 339) booted in 0.03s, phase: 0 +[1] - Worker 60 (PID: 344) booted in 0.03s, phase: 0 +[1] - Worker 61 (PID: 351) booted in 0.03s, phase: 0 +[1] - Worker 62 (PID: 357) booted in 0.02s, phase: 0 +[1] - Worker 63 (PID: 362) booted in 0.02s, phase: 0 diff --git a/site/static/logs/crud/4096/sinatra.log b/site/static/logs/crud/4096/sinatra.log index 7595253af..f32f0c151 100644 --- a/site/static/logs/crud/4096/sinatra.log +++ b/site/static/logs/crud/4096/sinatra.log @@ -1,6 +1,6 @@ [1] Puma starting in cluster mode... [1] * Puma version: 8.0.1 ("Into the Arena") -[1] * Ruby version: ruby 4.0.5 (2026-05-20 revision 64336ffd0e) +YJIT +MN +PRISM [x86_64-linux] +[1] * Ruby version: ruby 4.0.6 (2026-07-14 revision 03b6d3f889) +YJIT +MN +PRISM [x86_64-linux] [1] * Min threads: 3 [1] * Max threads: 3 [1] * Environment: production @@ -16,63 +16,63 @@ [1] ! Consider disabling this environment variable: https://github.com/puma/puma/issues/3720 [1] - Worker 0 (PID: 9) booted in 0.1s, phase: 0 [1] - Worker 1 (PID: 13) booted in 0.1s, phase: 0 -[1] - Worker 2 (PID: 17) booted in 0.09s, phase: 0 -[1] - Worker 3 (PID: 21) booted in 0.09s, phase: 0 -[1] - Worker 4 (PID: 25) booted in 0.09s, phase: 0 +[1] - Worker 2 (PID: 17) booted in 0.1s, phase: 0 +[1] - Worker 3 (PID: 21) booted in 0.1s, phase: 0 +[1] - Worker 4 (PID: 25) booted in 0.1s, phase: 0 [1] - Worker 5 (PID: 29) booted in 0.09s, phase: 0 [1] - Worker 6 (PID: 33) booted in 0.09s, phase: 0 [1] - Worker 7 (PID: 37) booted in 0.09s, phase: 0 [1] - Worker 8 (PID: 42) booted in 0.09s, phase: 0 -[1] - Worker 9 (PID: 46) booted in 0.09s, phase: 0 -[1] - Worker 10 (PID: 51) booted in 0.09s, phase: 0 -[1] - Worker 11 (PID: 57) booted in 0.08s, phase: 0 +[1] - Worker 9 (PID: 47) booted in 0.09s, phase: 0 +[1] - Worker 10 (PID: 52) booted in 0.09s, phase: 0 +[1] - Worker 11 (PID: 57) booted in 0.09s, phase: 0 [1] - Worker 12 (PID: 62) booted in 0.08s, phase: 0 [1] - Worker 13 (PID: 69) booted in 0.08s, phase: 0 [1] - Worker 14 (PID: 76) booted in 0.08s, phase: 0 [1] - Worker 15 (PID: 82) booted in 0.08s, phase: 0 [1] - Worker 16 (PID: 88) booted in 0.08s, phase: 0 [1] - Worker 17 (PID: 94) booted in 0.08s, phase: 0 -[1] - Worker 18 (PID: 100) booted in 0.07s, phase: 0 -[1] - Worker 19 (PID: 104) booted in 0.07s, phase: 0 +[1] - Worker 18 (PID: 100) booted in 0.08s, phase: 0 +[1] - Worker 19 (PID: 105) booted in 0.08s, phase: 0 [1] - Worker 20 (PID: 110) booted in 0.07s, phase: 0 -[1] - Worker 21 (PID: 116) booted in 0.07s, phase: 0 -[1] - Worker 22 (PID: 121) booted in 0.07s, phase: 0 -[1] - Worker 23 (PID: 127) booted in 0.07s, phase: 0 -[1] - Worker 24 (PID: 133) booted in 0.07s, phase: 0 -[1] - Worker 25 (PID: 138) booted in 0.07s, phase: 0 -[1] - Worker 26 (PID: 144) booted in 0.07s, phase: 0 -[1] - Worker 27 (PID: 149) booted in 0.06s, phase: 0 -[1] - Worker 28 (PID: 155) booted in 0.06s, phase: 0 -[1] - Worker 29 (PID: 163) booted in 0.06s, phase: 0 -[1] - Worker 30 (PID: 173) booted in 0.06s, phase: 0 -[1] - Worker 31 (PID: 178) booted in 0.06s, phase: 0 -[1] - Worker 32 (PID: 184) booted in 0.06s, phase: 0 -[1] - Worker 33 (PID: 190) booted in 0.06s, phase: 0 -[1] - Worker 34 (PID: 195) booted in 0.05s, phase: 0 -[1] - Worker 35 (PID: 201) booted in 0.05s, phase: 0 -[1] - Worker 36 (PID: 206) booted in 0.05s, phase: 0 -[1] - Worker 37 (PID: 211) booted in 0.05s, phase: 0 -[1] - Worker 38 (PID: 216) booted in 0.05s, phase: 0 -[1] - Worker 39 (PID: 222) booted in 0.05s, phase: 0 -[1] - Worker 40 (PID: 228) booted in 0.05s, phase: 0 -[1] - Worker 41 (PID: 234) booted in 0.05s, phase: 0 -[1] - Worker 42 (PID: 239) booted in 0.05s, phase: 0 -[1] - Worker 43 (PID: 244) booted in 0.04s, phase: 0 -[1] - Worker 44 (PID: 250) booted in 0.04s, phase: 0 -[1] - Worker 45 (PID: 255) booted in 0.04s, phase: 0 -[1] - Worker 46 (PID: 259) booted in 0.04s, phase: 0 -[1] - Worker 47 (PID: 266) booted in 0.04s, phase: 0 -[1] - Worker 48 (PID: 272) booted in 0.04s, phase: 0 -[1] - Worker 49 (PID: 278) booted in 0.04s, phase: 0 -[1] - Worker 50 (PID: 284) booted in 0.04s, phase: 0 -[1] - Worker 51 (PID: 290) booted in 0.03s, phase: 0 -[1] - Worker 52 (PID: 296) booted in 0.03s, phase: 0 -[1] - Worker 53 (PID: 302) booted in 0.03s, phase: 0 +[1] - Worker 21 (PID: 116) booted in 0.08s, phase: 0 +[1] - Worker 22 (PID: 122) booted in 0.07s, phase: 0 +[1] - Worker 23 (PID: 128) booted in 0.07s, phase: 0 +[1] - Worker 24 (PID: 134) booted in 0.07s, phase: 0 +[1] - Worker 25 (PID: 140) booted in 0.07s, phase: 0 +[1] - Worker 26 (PID: 145) booted in 0.07s, phase: 0 +[1] - Worker 27 (PID: 150) booted in 0.07s, phase: 0 +[1] - Worker 28 (PID: 156) booted in 0.07s, phase: 0 +[1] - Worker 29 (PID: 165) booted in 0.06s, phase: 0 +[1] - Worker 30 (PID: 174) booted in 0.06s, phase: 0 +[1] - Worker 31 (PID: 179) booted in 0.06s, phase: 0 +[1] - Worker 32 (PID: 185) booted in 0.06s, phase: 0 +[1] - Worker 33 (PID: 191) booted in 0.06s, phase: 0 +[1] - Worker 34 (PID: 196) booted in 0.06s, phase: 0 +[1] - Worker 35 (PID: 201) booted in 0.06s, phase: 0 +[1] - Worker 36 (PID: 207) booted in 0.05s, phase: 0 +[1] - Worker 37 (PID: 212) booted in 0.05s, phase: 0 +[1] - Worker 38 (PID: 217) booted in 0.05s, phase: 0 +[1] - Worker 39 (PID: 226) booted in 0.05s, phase: 0 +[1] - Worker 40 (PID: 231) booted in 0.05s, phase: 0 +[1] - Worker 41 (PID: 235) booted in 0.05s, phase: 0 +[1] - Worker 42 (PID: 241) booted in 0.05s, phase: 0 +[1] - Worker 43 (PID: 246) booted in 0.04s, phase: 0 +[1] - Worker 44 (PID: 251) booted in 0.04s, phase: 0 +[1] - Worker 45 (PID: 257) booted in 0.04s, phase: 0 +[1] - Worker 46 (PID: 263) booted in 0.04s, phase: 0 +[1] - Worker 47 (PID: 269) booted in 0.04s, phase: 0 +[1] - Worker 48 (PID: 274) booted in 0.04s, phase: 0 +[1] - Worker 49 (PID: 280) booted in 0.04s, phase: 0 +[1] - Worker 50 (PID: 285) booted in 0.03s, phase: 0 +[1] - Worker 51 (PID: 292) booted in 0.03s, phase: 0 +[1] - Worker 52 (PID: 298) booted in 0.03s, phase: 0 +[1] - Worker 53 (PID: 304) booted in 0.03s, phase: 0 [1] - Worker 54 (PID: 309) booted in 0.03s, phase: 0 [1] - Worker 55 (PID: 315) booted in 0.03s, phase: 0 [1] - Worker 56 (PID: 320) booted in 0.03s, phase: 0 -[1] - Worker 57 (PID: 327) booted in 0.03s, phase: 0 -[1] - Worker 58 (PID: 332) booted in 0.03s, phase: 0 +[1] - Worker 57 (PID: 326) booted in 0.03s, phase: 0 +[1] - Worker 58 (PID: 333) booted in 0.02s, phase: 0 [1] - Worker 59 (PID: 339) booted in 0.02s, phase: 0 -[1] - Worker 60 (PID: 344) booted in 0.02s, phase: 0 -[1] - Worker 61 (PID: 350) booted in 0.02s, phase: 0 +[1] - Worker 60 (PID: 345) booted in 0.02s, phase: 0 +[1] - Worker 61 (PID: 351) booted in 0.02s, phase: 0 diff --git a/site/static/logs/json-comp/16384/sinatra.log b/site/static/logs/json-comp/16384/sinatra.log index fd68f300b..33ddb130a 100644 --- a/site/static/logs/json-comp/16384/sinatra.log +++ b/site/static/logs/json-comp/16384/sinatra.log @@ -1,6 +1,6 @@ [1] Puma starting in cluster mode... [1] * Puma version: 8.0.1 ("Into the Arena") -[1] * Ruby version: ruby 4.0.5 (2026-05-20 revision 64336ffd0e) +YJIT +MN +PRISM [x86_64-linux] +[1] * Ruby version: ruby 4.0.6 (2026-07-14 revision 03b6d3f889) +YJIT +MN +PRISM [x86_64-linux] [1] * Min threads: 3 [1] * Max threads: 3 [1] * Environment: production @@ -14,67 +14,67 @@ [1] ! WARNING: Detected `RUBY_MN_THREADS=1` [1] ! This setting is known to cause performance regressions with Puma. [1] ! Consider disabling this environment variable: https://github.com/puma/puma/issues/3720 -[1] - Worker 0 (PID: 9) booted in 0.11s, phase: 0 -[1] - Worker 1 (PID: 12) booted in 0.11s, phase: 0 -[1] - Worker 2 (PID: 15) booted in 0.11s, phase: 0 -[1] - Worker 3 (PID: 19) booted in 0.11s, phase: 0 -[1] - Worker 4 (PID: 23) booted in 0.11s, phase: 0 -[1] - Worker 5 (PID: 27) booted in 0.11s, phase: 0 -[1] - Worker 6 (PID: 31) booted in 0.1s, phase: 0 -[1] - Worker 7 (PID: 35) booted in 0.1s, phase: 0 -[1] - Worker 8 (PID: 39) booted in 0.1s, phase: 0 -[1] - Worker 9 (PID: 44) booted in 0.1s, phase: 0 -[1] - Worker 10 (PID: 49) booted in 0.1s, phase: 0 -[1] - Worker 11 (PID: 55) booted in 0.1s, phase: 0 -[1] - Worker 12 (PID: 60) booted in 0.09s, phase: 0 -[1] - Worker 13 (PID: 68) booted in 0.09s, phase: 0 -[1] - Worker 14 (PID: 73) booted in 0.09s, phase: 0 -[1] - Worker 15 (PID: 79) booted in 0.09s, phase: 0 -[1] - Worker 16 (PID: 84) booted in 0.09s, phase: 0 -[1] - Worker 17 (PID: 90) booted in 0.09s, phase: 0 -[1] - Worker 18 (PID: 95) booted in 0.09s, phase: 0 -[1] - Worker 19 (PID: 101) booted in 0.09s, phase: 0 -[1] - Worker 20 (PID: 107) booted in 0.09s, phase: 0 -[1] - Worker 21 (PID: 112) booted in 0.1s, phase: 0 -[1] - Worker 22 (PID: 119) booted in 0.1s, phase: 0 -[1] - Worker 23 (PID: 123) booted in 0.1s, phase: 0 -[1] - Worker 24 (PID: 129) booted in 0.1s, phase: 0 -[1] - Worker 25 (PID: 133) booted in 0.1s, phase: 0 -[1] - Worker 26 (PID: 140) booted in 0.09s, phase: 0 -[1] - Worker 27 (PID: 146) booted in 0.09s, phase: 0 -[1] - Worker 28 (PID: 151) booted in 0.09s, phase: 0 -[1] - Worker 29 (PID: 160) booted in 0.09s, phase: 0 -[1] - Worker 30 (PID: 169) booted in 0.09s, phase: 0 -[1] - Worker 31 (PID: 175) booted in 0.09s, phase: 0 -[1] - Worker 32 (PID: 180) booted in 0.09s, phase: 0 -[1] - Worker 33 (PID: 185) booted in 0.08s, phase: 0 -[1] - Worker 34 (PID: 191) booted in 0.08s, phase: 0 -[1] - Worker 35 (PID: 197) booted in 0.08s, phase: 0 -[1] - Worker 36 (PID: 206) booted in 0.08s, phase: 0 -[1] - Worker 37 (PID: 212) booted in 0.08s, phase: 0 -[1] - Worker 38 (PID: 216) booted in 0.08s, phase: 0 -[1] - Worker 39 (PID: 222) booted in 0.08s, phase: 0 -[1] - Worker 40 (PID: 227) booted in 0.07s, phase: 0 -[1] - Worker 41 (PID: 235) booted in 0.07s, phase: 0 -[1] - Worker 42 (PID: 242) booted in 0.07s, phase: 0 -[1] - Worker 43 (PID: 246) booted in 0.07s, phase: 0 -[1] - Worker 44 (PID: 251) booted in 0.06s, phase: 0 -[1] - Worker 45 (PID: 257) booted in 0.06s, phase: 0 -[1] - Worker 46 (PID: 264) booted in 0.06s, phase: 0 -[1] - Worker 47 (PID: 268) booted in 0.06s, phase: 0 -[1] - Worker 48 (PID: 275) booted in 0.06s, phase: 0 -[1] - Worker 49 (PID: 279) booted in 0.06s, phase: 0 -[1] - Worker 50 (PID: 284) booted in 0.06s, phase: 0 -[1] - Worker 51 (PID: 289) booted in 0.06s, phase: 0 -[1] - Worker 52 (PID: 295) booted in 0.05s, phase: 0 -[1] - Worker 53 (PID: 301) booted in 0.05s, phase: 0 -[1] - Worker 54 (PID: 305) booted in 0.05s, phase: 0 -[1] - Worker 55 (PID: 313) booted in 0.05s, phase: 0 -[1] - Worker 56 (PID: 318) booted in 0.05s, phase: 0 -[1] - Worker 57 (PID: 323) booted in 0.05s, phase: 0 -[1] - Worker 58 (PID: 329) booted in 0.05s, phase: 0 -[1] - Worker 59 (PID: 334) booted in 0.04s, phase: 0 -[1] - Worker 60 (PID: 340) booted in 0.04s, phase: 0 -[1] - Worker 61 (PID: 345) booted in 0.04s, phase: 0 -[1] - Worker 62 (PID: 352) booted in 0.04s, phase: 0 -[1] - Worker 63 (PID: 357) booted in 0.04s, phase: 0 +[1] - Worker 0 (PID: 9) booted in 0.1s, phase: 0 +[1] - Worker 1 (PID: 13) booted in 0.1s, phase: 0 +[1] - Worker 2 (PID: 17) booted in 0.1s, phase: 0 +[1] - Worker 3 (PID: 21) booted in 0.1s, phase: 0 +[1] - Worker 4 (PID: 25) booted in 0.1s, phase: 0 +[1] - Worker 5 (PID: 29) booted in 0.1s, phase: 0 +[1] - Worker 6 (PID: 33) booted in 0.1s, phase: 0 +[1] - Worker 7 (PID: 37) booted in 0.09s, phase: 0 +[1] - Worker 8 (PID: 42) booted in 0.09s, phase: 0 +[1] - Worker 9 (PID: 47) booted in 0.09s, phase: 0 +[1] - Worker 10 (PID: 52) booted in 0.09s, phase: 0 +[1] - Worker 11 (PID: 57) booted in 0.09s, phase: 0 +[1] - Worker 12 (PID: 62) booted in 0.09s, phase: 0 +[1] - Worker 13 (PID: 69) booted in 0.08s, phase: 0 +[1] - Worker 14 (PID: 76) booted in 0.08s, phase: 0 +[1] - Worker 15 (PID: 82) booted in 0.08s, phase: 0 +[1] - Worker 16 (PID: 88) booted in 0.08s, phase: 0 +[1] - Worker 17 (PID: 94) booted in 0.08s, phase: 0 +[1] - Worker 18 (PID: 100) booted in 0.08s, phase: 0 +[1] - Worker 19 (PID: 105) booted in 0.08s, phase: 0 +[1] - Worker 20 (PID: 111) booted in 0.08s, phase: 0 +[1] - Worker 21 (PID: 116) booted in 0.08s, phase: 0 +[1] - Worker 22 (PID: 122) booted in 0.08s, phase: 0 +[1] - Worker 23 (PID: 128) booted in 0.08s, phase: 0 +[1] - Worker 24 (PID: 134) booted in 0.07s, phase: 0 +[1] - Worker 25 (PID: 140) booted in 0.07s, phase: 0 +[1] - Worker 26 (PID: 145) booted in 0.07s, phase: 0 +[1] - Worker 27 (PID: 150) booted in 0.07s, phase: 0 +[1] - Worker 28 (PID: 156) booted in 0.07s, phase: 0 +[1] - Worker 29 (PID: 164) booted in 0.07s, phase: 0 +[1] - Worker 30 (PID: 174) booted in 0.07s, phase: 0 +[1] - Worker 31 (PID: 179) booted in 0.06s, phase: 0 +[1] - Worker 32 (PID: 185) booted in 0.06s, phase: 0 +[1] - Worker 33 (PID: 191) booted in 0.06s, phase: 0 +[1] - Worker 34 (PID: 195) booted in 0.06s, phase: 0 +[1] - Worker 35 (PID: 201) booted in 0.06s, phase: 0 +[1] - Worker 36 (PID: 207) booted in 0.06s, phase: 0 +[1] - Worker 37 (PID: 212) booted in 0.06s, phase: 0 +[1] - Worker 38 (PID: 216) booted in 0.06s, phase: 0 +[1] - Worker 39 (PID: 223) booted in 0.05s, phase: 0 +[1] - Worker 40 (PID: 229) booted in 0.05s, phase: 0 +[1] - Worker 41 (PID: 234) booted in 0.05s, phase: 0 +[1] - Worker 42 (PID: 239) booted in 0.05s, phase: 0 +[1] - Worker 43 (PID: 244) booted in 0.05s, phase: 0 +[1] - Worker 44 (PID: 250) booted in 0.05s, phase: 0 +[1] - Worker 45 (PID: 255) booted in 0.05s, phase: 0 +[1] - Worker 46 (PID: 261) booted in 0.05s, phase: 0 +[1] - Worker 47 (PID: 266) booted in 0.04s, phase: 0 +[1] - Worker 48 (PID: 276) booted in 0.04s, phase: 0 +[1] - Worker 49 (PID: 281) booted in 0.04s, phase: 0 +[1] - Worker 50 (PID: 287) booted in 0.04s, phase: 0 +[1] - Worker 51 (PID: 293) booted in 0.04s, phase: 0 +[1] - Worker 52 (PID: 299) booted in 0.04s, phase: 0 +[1] - Worker 53 (PID: 305) booted in 0.04s, phase: 0 +[1] - Worker 54 (PID: 311) booted in 0.03s, phase: 0 +[1] - Worker 55 (PID: 317) booted in 0.03s, phase: 0 +[1] - Worker 56 (PID: 322) booted in 0.03s, phase: 0 +[1] - Worker 57 (PID: 328) booted in 0.03s, phase: 0 +[1] - Worker 58 (PID: 334) booted in 0.03s, phase: 0 +[1] - Worker 59 (PID: 340) booted in 0.03s, phase: 0 +[1] - Worker 60 (PID: 347) booted in 0.03s, phase: 0 +[1] - Worker 61 (PID: 353) booted in 0.02s, phase: 0 +[1] - Worker 62 (PID: 358) booted in 0.02s, phase: 0 +[1] - Worker 63 (PID: 363) booted in 0.02s, phase: 0 diff --git a/site/static/logs/json-comp/4096/sinatra.log b/site/static/logs/json-comp/4096/sinatra.log index a17bc4903..57813b503 100644 --- a/site/static/logs/json-comp/4096/sinatra.log +++ b/site/static/logs/json-comp/4096/sinatra.log @@ -1,6 +1,6 @@ [1] Puma starting in cluster mode... [1] * Puma version: 8.0.1 ("Into the Arena") -[1] * Ruby version: ruby 4.0.5 (2026-05-20 revision 64336ffd0e) +YJIT +MN +PRISM [x86_64-linux] +[1] * Ruby version: ruby 4.0.6 (2026-07-14 revision 03b6d3f889) +YJIT +MN +PRISM [x86_64-linux] [1] * Min threads: 3 [1] * Max threads: 3 [1] * Environment: production @@ -14,67 +14,67 @@ [1] ! WARNING: Detected `RUBY_MN_THREADS=1` [1] ! This setting is known to cause performance regressions with Puma. [1] ! Consider disabling this environment variable: https://github.com/puma/puma/issues/3720 -[1] - Worker 0 (PID: 9) booted in 0.11s, phase: 0 -[1] - Worker 1 (PID: 12) booted in 0.11s, phase: 0 -[1] - Worker 2 (PID: 15) booted in 0.11s, phase: 0 -[1] - Worker 3 (PID: 19) booted in 0.11s, phase: 0 -[1] - Worker 4 (PID: 23) booted in 0.1s, phase: 0 -[1] - Worker 5 (PID: 28) booted in 0.1s, phase: 0 -[1] - Worker 6 (PID: 32) booted in 0.1s, phase: 0 -[1] - Worker 7 (PID: 35) booted in 0.1s, phase: 0 -[1] - Worker 8 (PID: 40) booted in 0.1s, phase: 0 -[1] - Worker 9 (PID: 44) booted in 0.1s, phase: 0 -[1] - Worker 10 (PID: 51) booted in 0.09s, phase: 0 -[1] - Worker 11 (PID: 56) booted in 0.09s, phase: 0 -[1] - Worker 12 (PID: 60) booted in 0.09s, phase: 0 -[1] - Worker 13 (PID: 69) booted in 0.09s, phase: 0 -[1] - Worker 14 (PID: 74) booted in 0.09s, phase: 0 -[1] - Worker 15 (PID: 81) booted in 0.09s, phase: 0 -[1] - Worker 16 (PID: 85) booted in 0.09s, phase: 0 -[1] - Worker 17 (PID: 90) booted in 0.09s, phase: 0 -[1] - Worker 18 (PID: 96) booted in 0.09s, phase: 0 -[1] - Worker 19 (PID: 101) booted in 0.09s, phase: 0 -[1] - Worker 20 (PID: 107) booted in 0.09s, phase: 0 -[1] - Worker 21 (PID: 112) booted in 0.09s, phase: 0 -[1] - Worker 22 (PID: 118) booted in 0.09s, phase: 0 -[1] - Worker 23 (PID: 123) booted in 0.09s, phase: 0 -[1] - Worker 24 (PID: 128) booted in 0.09s, phase: 0 -[1] - Worker 25 (PID: 135) booted in 0.09s, phase: 0 -[1] - Worker 26 (PID: 142) booted in 0.09s, phase: 0 -[1] - Worker 27 (PID: 146) booted in 0.09s, phase: 0 -[1] - Worker 28 (PID: 151) booted in 0.09s, phase: 0 -[1] - Worker 29 (PID: 160) booted in 0.08s, phase: 0 -[1] - Worker 30 (PID: 171) booted in 0.08s, phase: 0 -[1] - Worker 31 (PID: 175) booted in 0.08s, phase: 0 -[1] - Worker 32 (PID: 180) booted in 0.08s, phase: 0 -[1] - Worker 33 (PID: 185) booted in 0.08s, phase: 0 -[1] - Worker 34 (PID: 191) booted in 0.08s, phase: 0 -[1] - Worker 35 (PID: 197) booted in 0.08s, phase: 0 -[1] - Worker 36 (PID: 202) booted in 0.07s, phase: 0 -[1] - Worker 37 (PID: 207) booted in 0.07s, phase: 0 -[1] - Worker 38 (PID: 214) booted in 0.07s, phase: 0 -[1] - Worker 39 (PID: 218) booted in 0.07s, phase: 0 -[1] - Worker 40 (PID: 223) booted in 0.07s, phase: 0 -[1] - Worker 41 (PID: 229) booted in 0.07s, phase: 0 -[1] - Worker 42 (PID: 237) booted in 0.07s, phase: 0 -[1] - Worker 43 (PID: 241) booted in 0.07s, phase: 0 -[1] - Worker 44 (PID: 246) booted in 0.07s, phase: 0 -[1] - Worker 45 (PID: 252) booted in 0.06s, phase: 0 -[1] - Worker 46 (PID: 257) booted in 0.06s, phase: 0 -[1] - Worker 47 (PID: 263) booted in 0.06s, phase: 0 -[1] - Worker 48 (PID: 267) booted in 0.06s, phase: 0 -[1] - Worker 49 (PID: 275) booted in 0.06s, phase: 0 -[1] - Worker 50 (PID: 281) booted in 0.06s, phase: 0 -[1] - Worker 51 (PID: 287) booted in 0.06s, phase: 0 -[1] - Worker 52 (PID: 293) booted in 0.05s, phase: 0 -[1] - Worker 53 (PID: 299) booted in 0.05s, phase: 0 -[1] - Worker 54 (PID: 306) booted in 0.05s, phase: 0 -[1] - Worker 55 (PID: 309) booted in 0.05s, phase: 0 -[1] - Worker 56 (PID: 316) booted in 0.05s, phase: 0 -[1] - Worker 57 (PID: 321) booted in 0.05s, phase: 0 -[1] - Worker 58 (PID: 328) booted in 0.05s, phase: 0 -[1] - Worker 59 (PID: 336) booted in 0.04s, phase: 0 -[1] - Worker 60 (PID: 342) booted in 0.04s, phase: 0 -[1] - Worker 61 (PID: 347) booted in 0.04s, phase: 0 -[1] - Worker 62 (PID: 354) booted in 0.04s, phase: 0 -[1] - Worker 63 (PID: 362) booted in 0.04s, phase: 0 +[1] - Worker 0 (PID: 9) booted in 0.1s, phase: 0 +[1] - Worker 1 (PID: 13) booted in 0.1s, phase: 0 +[1] - Worker 2 (PID: 17) booted in 0.1s, phase: 0 +[1] - Worker 3 (PID: 21) booted in 0.1s, phase: 0 +[1] - Worker 4 (PID: 25) booted in 0.1s, phase: 0 +[1] - Worker 5 (PID: 29) booted in 0.1s, phase: 0 +[1] - Worker 6 (PID: 33) booted in 0.09s, phase: 0 +[1] - Worker 7 (PID: 37) booted in 0.09s, phase: 0 +[1] - Worker 8 (PID: 42) booted in 0.09s, phase: 0 +[1] - Worker 9 (PID: 48) booted in 0.09s, phase: 0 +[1] - Worker 10 (PID: 52) booted in 0.09s, phase: 0 +[1] - Worker 11 (PID: 57) booted in 0.09s, phase: 0 +[1] - Worker 12 (PID: 62) booted in 0.08s, phase: 0 +[1] - Worker 13 (PID: 70) booted in 0.08s, phase: 0 +[1] - Worker 14 (PID: 77) booted in 0.08s, phase: 0 +[1] - Worker 15 (PID: 82) booted in 0.08s, phase: 0 +[1] - Worker 16 (PID: 88) booted in 0.08s, phase: 0 +[1] - Worker 17 (PID: 94) booted in 0.08s, phase: 0 +[1] - Worker 18 (PID: 101) booted in 0.08s, phase: 0 +[1] - Worker 19 (PID: 106) booted in 0.08s, phase: 0 +[1] - Worker 20 (PID: 111) booted in 0.08s, phase: 0 +[1] - Worker 21 (PID: 116) booted in 0.08s, phase: 0 +[1] - Worker 22 (PID: 122) booted in 0.07s, phase: 0 +[1] - Worker 23 (PID: 128) booted in 0.07s, phase: 0 +[1] - Worker 24 (PID: 134) booted in 0.07s, phase: 0 +[1] - Worker 25 (PID: 140) booted in 0.07s, phase: 0 +[1] - Worker 26 (PID: 145) booted in 0.07s, phase: 0 +[1] - Worker 27 (PID: 151) booted in 0.07s, phase: 0 +[1] - Worker 28 (PID: 156) booted in 0.07s, phase: 0 +[1] - Worker 29 (PID: 164) booted in 0.06s, phase: 0 +[1] - Worker 30 (PID: 174) booted in 0.06s, phase: 0 +[1] - Worker 31 (PID: 178) booted in 0.06s, phase: 0 +[1] - Worker 32 (PID: 184) booted in 0.06s, phase: 0 +[1] - Worker 33 (PID: 191) booted in 0.06s, phase: 0 +[1] - Worker 34 (PID: 195) booted in 0.06s, phase: 0 +[1] - Worker 35 (PID: 200) booted in 0.06s, phase: 0 +[1] - Worker 36 (PID: 206) booted in 0.06s, phase: 0 +[1] - Worker 37 (PID: 212) booted in 0.05s, phase: 0 +[1] - Worker 38 (PID: 217) booted in 0.05s, phase: 0 +[1] - Worker 39 (PID: 223) booted in 0.05s, phase: 0 +[1] - Worker 40 (PID: 229) booted in 0.05s, phase: 0 +[1] - Worker 41 (PID: 234) booted in 0.05s, phase: 0 +[1] - Worker 42 (PID: 239) booted in 0.05s, phase: 0 +[1] - Worker 43 (PID: 245) booted in 0.05s, phase: 0 +[1] - Worker 44 (PID: 250) booted in 0.05s, phase: 0 +[1] - Worker 45 (PID: 255) booted in 0.04s, phase: 0 +[1] - Worker 46 (PID: 261) booted in 0.04s, phase: 0 +[1] - Worker 47 (PID: 267) booted in 0.04s, phase: 0 +[1] - Worker 48 (PID: 273) booted in 0.04s, phase: 0 +[1] - Worker 49 (PID: 279) booted in 0.04s, phase: 0 +[1] - Worker 50 (PID: 285) booted in 0.04s, phase: 0 +[1] - Worker 51 (PID: 291) booted in 0.04s, phase: 0 +[1] - Worker 52 (PID: 297) booted in 0.04s, phase: 0 +[1] - Worker 53 (PID: 303) booted in 0.03s, phase: 0 +[1] - Worker 54 (PID: 309) booted in 0.03s, phase: 0 +[1] - Worker 55 (PID: 315) booted in 0.03s, phase: 0 +[1] - Worker 56 (PID: 321) booted in 0.03s, phase: 0 +[1] - Worker 57 (PID: 327) booted in 0.03s, phase: 0 +[1] - Worker 58 (PID: 333) booted in 0.03s, phase: 0 +[1] - Worker 59 (PID: 338) booted in 0.03s, phase: 0 +[1] - Worker 60 (PID: 345) booted in 0.02s, phase: 0 +[1] - Worker 61 (PID: 351) booted in 0.02s, phase: 0 +[1] - Worker 62 (PID: 356) booted in 0.02s, phase: 0 +[1] - Worker 63 (PID: 363) booted in 0.02s, phase: 0 diff --git a/site/static/logs/json-comp/512/sinatra.log b/site/static/logs/json-comp/512/sinatra.log index 81d8b36ec..da6930832 100644 --- a/site/static/logs/json-comp/512/sinatra.log +++ b/site/static/logs/json-comp/512/sinatra.log @@ -1,6 +1,6 @@ [1] Puma starting in cluster mode... [1] * Puma version: 8.0.1 ("Into the Arena") -[1] * Ruby version: ruby 4.0.5 (2026-05-20 revision 64336ffd0e) +YJIT +MN +PRISM [x86_64-linux] +[1] * Ruby version: ruby 4.0.6 (2026-07-14 revision 03b6d3f889) +YJIT +MN +PRISM [x86_64-linux] [1] * Min threads: 3 [1] * Max threads: 3 [1] * Environment: production @@ -14,67 +14,67 @@ [1] ! WARNING: Detected `RUBY_MN_THREADS=1` [1] ! This setting is known to cause performance regressions with Puma. [1] ! Consider disabling this environment variable: https://github.com/puma/puma/issues/3720 -[1] - Worker 0 (PID: 9) booted in 0.11s, phase: 0 -[1] - Worker 1 (PID: 12) booted in 0.11s, phase: 0 -[1] - Worker 2 (PID: 15) booted in 0.11s, phase: 0 -[1] - Worker 3 (PID: 19) booted in 0.1s, phase: 0 -[1] - Worker 4 (PID: 23) booted in 0.1s, phase: 0 -[1] - Worker 5 (PID: 27) booted in 0.1s, phase: 0 -[1] - Worker 6 (PID: 31) booted in 0.1s, phase: 0 -[1] - Worker 7 (PID: 35) booted in 0.1s, phase: 0 -[1] - Worker 8 (PID: 39) booted in 0.1s, phase: 0 -[1] - Worker 9 (PID: 43) booted in 0.1s, phase: 0 -[1] - Worker 10 (PID: 48) booted in 0.1s, phase: 0 -[1] - Worker 11 (PID: 53) booted in 0.09s, phase: 0 -[1] - Worker 12 (PID: 58) booted in 0.09s, phase: 0 -[1] - Worker 13 (PID: 67) booted in 0.09s, phase: 0 -[1] - Worker 14 (PID: 73) booted in 0.09s, phase: 0 -[1] - Worker 15 (PID: 79) booted in 0.09s, phase: 0 -[1] - Worker 16 (PID: 84) booted in 0.09s, phase: 0 -[1] - Worker 17 (PID: 90) booted in 0.09s, phase: 0 -[1] - Worker 19 (PID: 102) booted in 0.09s, phase: 0 -[1] - Worker 18 (PID: 96) booted in 0.09s, phase: 0 -[1] - Worker 20 (PID: 106) booted in 0.09s, phase: 0 -[1] - Worker 21 (PID: 115) booted in 0.09s, phase: 0 -[1] - Worker 22 (PID: 120) booted in 0.09s, phase: 0 -[1] - Worker 23 (PID: 127) booted in 0.09s, phase: 0 -[1] - Worker 24 (PID: 134) booted in 0.09s, phase: 0 -[1] - Worker 25 (PID: 139) booted in 0.09s, phase: 0 -[1] - Worker 26 (PID: 145) booted in 0.09s, phase: 0 -[1] - Worker 27 (PID: 149) booted in 0.09s, phase: 0 -[1] - Worker 28 (PID: 155) booted in 0.08s, phase: 0 -[1] - Worker 29 (PID: 164) booted in 0.08s, phase: 0 -[1] - Worker 30 (PID: 172) booted in 0.08s, phase: 0 -[1] - Worker 31 (PID: 177) booted in 0.08s, phase: 0 -[1] - Worker 32 (PID: 182) booted in 0.08s, phase: 0 -[1] - Worker 33 (PID: 186) booted in 0.08s, phase: 0 -[1] - Worker 34 (PID: 193) booted in 0.07s, phase: 0 -[1] - Worker 35 (PID: 198) booted in 0.07s, phase: 0 -[1] - Worker 36 (PID: 203) booted in 0.07s, phase: 0 -[1] - Worker 38 (PID: 213) booted in 0.07s, phase: 0 -[1] - Worker 37 (PID: 207) booted in 0.07s, phase: 0 -[1] - Worker 39 (PID: 218) booted in 0.07s, phase: 0 -[1] - Worker 40 (PID: 223) booted in 0.07s, phase: 0 -[1] - Worker 41 (PID: 230) booted in 0.07s, phase: 0 -[1] - Worker 42 (PID: 235) booted in 0.06s, phase: 0 -[1] - Worker 43 (PID: 240) booted in 0.06s, phase: 0 -[1] - Worker 44 (PID: 245) booted in 0.06s, phase: 0 -[1] - Worker 45 (PID: 252) booted in 0.06s, phase: 0 -[1] - Worker 46 (PID: 256) booted in 0.06s, phase: 0 -[1] - Worker 47 (PID: 261) booted in 0.06s, phase: 0 -[1] - Worker 48 (PID: 269) booted in 0.06s, phase: 0 -[1] - Worker 49 (PID: 274) booted in 0.06s, phase: 0 -[1] - Worker 50 (PID: 279) booted in 0.06s, phase: 0 -[1] - Worker 51 (PID: 285) booted in 0.05s, phase: 0 -[1] - Worker 52 (PID: 293) booted in 0.05s, phase: 0 -[1] - Worker 53 (PID: 298) booted in 0.05s, phase: 0 -[1] - Worker 54 (PID: 305) booted in 0.05s, phase: 0 -[1] - Worker 55 (PID: 311) booted in 0.05s, phase: 0 -[1] - Worker 56 (PID: 317) booted in 0.05s, phase: 0 -[1] - Worker 57 (PID: 322) booted in 0.05s, phase: 0 -[1] - Worker 58 (PID: 328) booted in 0.04s, phase: 0 -[1] - Worker 59 (PID: 335) booted in 0.04s, phase: 0 -[1] - Worker 60 (PID: 340) booted in 0.04s, phase: 0 -[1] - Worker 61 (PID: 346) booted in 0.04s, phase: 0 -[1] - Worker 62 (PID: 352) booted in 0.04s, phase: 0 -[1] - Worker 63 (PID: 360) booted in 0.04s, phase: 0 +[1] - Worker 0 (PID: 9) booted in 0.1s, phase: 0 +[1] - Worker 1 (PID: 13) booted in 0.1s, phase: 0 +[1] - Worker 2 (PID: 17) booted in 0.1s, phase: 0 +[1] - Worker 3 (PID: 21) booted in 0.1s, phase: 0 +[1] - Worker 4 (PID: 25) booted in 0.1s, phase: 0 +[1] - Worker 5 (PID: 29) booted in 0.1s, phase: 0 +[1] - Worker 6 (PID: 33) booted in 0.1s, phase: 0 +[1] - Worker 7 (PID: 37) booted in 0.1s, phase: 0 +[1] - Worker 8 (PID: 42) booted in 0.09s, phase: 0 +[1] - Worker 9 (PID: 47) booted in 0.09s, phase: 0 +[1] - Worker 10 (PID: 52) booted in 0.09s, phase: 0 +[1] - Worker 11 (PID: 57) booted in 0.09s, phase: 0 +[1] - Worker 12 (PID: 62) booted in 0.09s, phase: 0 +[1] - Worker 13 (PID: 70) booted in 0.09s, phase: 0 +[1] - Worker 14 (PID: 77) booted in 0.09s, phase: 0 +[1] - Worker 15 (PID: 82) booted in 0.08s, phase: 0 +[1] - Worker 16 (PID: 88) booted in 0.08s, phase: 0 +[1] - Worker 17 (PID: 94) booted in 0.08s, phase: 0 +[1] - Worker 18 (PID: 100) booted in 0.08s, phase: 0 +[1] - Worker 19 (PID: 105) booted in 0.08s, phase: 0 +[1] - Worker 20 (PID: 110) booted in 0.08s, phase: 0 +[1] - Worker 21 (PID: 116) booted in 0.08s, phase: 0 +[1] - Worker 22 (PID: 124) booted in 0.08s, phase: 0 +[1] - Worker 23 (PID: 130) booted in 0.08s, phase: 0 +[1] - Worker 24 (PID: 136) booted in 0.07s, phase: 0 +[1] - Worker 25 (PID: 141) booted in 0.07s, phase: 0 +[1] - Worker 26 (PID: 146) booted in 0.07s, phase: 0 +[1] - Worker 27 (PID: 152) booted in 0.07s, phase: 0 +[1] - Worker 28 (PID: 156) booted in 0.07s, phase: 0 +[1] - Worker 29 (PID: 167) booted in 0.06s, phase: 0 +[1] - Worker 30 (PID: 176) booted in 0.06s, phase: 0 +[1] - Worker 31 (PID: 181) booted in 0.06s, phase: 0 +[1] - Worker 32 (PID: 187) booted in 0.06s, phase: 0 +[1] - Worker 33 (PID: 192) booted in 0.06s, phase: 0 +[1] - Worker 34 (PID: 197) booted in 0.06s, phase: 0 +[1] - Worker 35 (PID: 202) booted in 0.06s, phase: 0 +[1] - Worker 36 (PID: 208) booted in 0.06s, phase: 0 +[1] - Worker 37 (PID: 213) booted in 0.05s, phase: 0 +[1] - Worker 38 (PID: 218) booted in 0.05s, phase: 0 +[1] - Worker 39 (PID: 224) booted in 0.05s, phase: 0 +[1] - Worker 40 (PID: 229) booted in 0.05s, phase: 0 +[1] - Worker 41 (PID: 234) booted in 0.05s, phase: 0 +[1] - Worker 42 (PID: 239) booted in 0.05s, phase: 0 +[1] - Worker 43 (PID: 245) booted in 0.05s, phase: 0 +[1] - Worker 44 (PID: 250) booted in 0.05s, phase: 0 +[1] - Worker 45 (PID: 255) booted in 0.04s, phase: 0 +[1] - Worker 46 (PID: 261) booted in 0.04s, phase: 0 +[1] - Worker 47 (PID: 267) booted in 0.04s, phase: 0 +[1] - Worker 48 (PID: 273) booted in 0.04s, phase: 0 +[1] - Worker 49 (PID: 279) booted in 0.04s, phase: 0 +[1] - Worker 50 (PID: 285) booted in 0.04s, phase: 0 +[1] - Worker 51 (PID: 291) booted in 0.04s, phase: 0 +[1] - Worker 52 (PID: 297) booted in 0.04s, phase: 0 +[1] - Worker 53 (PID: 303) booted in 0.03s, phase: 0 +[1] - Worker 54 (PID: 309) booted in 0.03s, phase: 0 +[1] - Worker 55 (PID: 315) booted in 0.03s, phase: 0 +[1] - Worker 56 (PID: 321) booted in 0.03s, phase: 0 +[1] - Worker 57 (PID: 327) booted in 0.03s, phase: 0 +[1] - Worker 58 (PID: 333) booted in 0.03s, phase: 0 +[1] - Worker 59 (PID: 339) booted in 0.03s, phase: 0 +[1] - Worker 60 (PID: 345) booted in 0.03s, phase: 0 +[1] - Worker 61 (PID: 351) booted in 0.02s, phase: 0 +[1] - Worker 62 (PID: 357) booted in 0.02s, phase: 0 +[1] - Worker 63 (PID: 363) booted in 0.02s, phase: 0 diff --git a/site/static/logs/json-tls/4096/sinatra.log b/site/static/logs/json-tls/4096/sinatra.log index 8cfd7b63e..0e51a368f 100644 --- a/site/static/logs/json-tls/4096/sinatra.log +++ b/site/static/logs/json-tls/4096/sinatra.log @@ -1,6 +1,6 @@ [1] Puma starting in cluster mode... [1] * Puma version: 8.0.1 ("Into the Arena") -[1] * Ruby version: ruby 4.0.5 (2026-05-20 revision 64336ffd0e) +YJIT +MN +PRISM [x86_64-linux] +[1] * Ruby version: ruby 4.0.6 (2026-07-14 revision 03b6d3f889) +YJIT +MN +PRISM [x86_64-linux] [1] * Min threads: 3 [1] * Max threads: 3 [1] * Environment: production @@ -14,67 +14,67 @@ [1] ! WARNING: Detected `RUBY_MN_THREADS=1` [1] ! This setting is known to cause performance regressions with Puma. [1] ! Consider disabling this environment variable: https://github.com/puma/puma/issues/3720 -[1] - Worker 0 (PID: 9) booted in 0.11s, phase: 0 -[1] - Worker 1 (PID: 12) booted in 0.11s, phase: 0 -[1] - Worker 2 (PID: 15) booted in 0.1s, phase: 0 -[1] - Worker 3 (PID: 19) booted in 0.1s, phase: 0 -[1] - Worker 4 (PID: 23) booted in 0.1s, phase: 0 -[1] - Worker 5 (PID: 27) booted in 0.1s, phase: 0 -[1] - Worker 6 (PID: 31) booted in 0.1s, phase: 0 -[1] - Worker 7 (PID: 35) booted in 0.1s, phase: 0 -[1] - Worker 8 (PID: 39) booted in 0.1s, phase: 0 -[1] - Worker 9 (PID: 44) booted in 0.09s, phase: 0 -[1] - Worker 10 (PID: 48) booted in 0.09s, phase: 0 -[1] - Worker 11 (PID: 53) booted in 0.09s, phase: 0 -[1] - Worker 12 (PID: 59) booted in 0.09s, phase: 0 -[1] - Worker 13 (PID: 67) booted in 0.09s, phase: 0 -[1] - Worker 14 (PID: 72) booted in 0.09s, phase: 0 -[1] - Worker 15 (PID: 78) booted in 0.09s, phase: 0 -[1] - Worker 16 (PID: 82) booted in 0.09s, phase: 0 -[1] - Worker 17 (PID: 88) booted in 0.09s, phase: 0 -[1] - Worker 18 (PID: 94) booted in 0.09s, phase: 0 -[1] - Worker 19 (PID: 101) booted in 0.09s, phase: 0 -[1] - Worker 20 (PID: 105) booted in 0.09s, phase: 0 -[1] - Worker 21 (PID: 111) booted in 0.09s, phase: 0 -[1] - Worker 22 (PID: 116) booted in 0.09s, phase: 0 -[1] - Worker 23 (PID: 121) booted in 0.09s, phase: 0 -[1] - Worker 24 (PID: 128) booted in 0.09s, phase: 0 -[1] - Worker 25 (PID: 134) booted in 0.09s, phase: 0 -[1] - Worker 26 (PID: 140) booted in 0.09s, phase: 0 -[1] - Worker 27 (PID: 144) booted in 0.09s, phase: 0 -[1] - Worker 28 (PID: 150) booted in 0.09s, phase: 0 -[1] - Worker 29 (PID: 161) booted in 0.08s, phase: 0 -[1] - Worker 30 (PID: 170) booted in 0.08s, phase: 0 -[1] - Worker 31 (PID: 176) booted in 0.08s, phase: 0 -[1] - Worker 32 (PID: 181) booted in 0.08s, phase: 0 -[1] - Worker 33 (PID: 186) booted in 0.08s, phase: 0 -[1] - Worker 34 (PID: 193) booted in 0.08s, phase: 0 -[1] - Worker 35 (PID: 197) booted in 0.08s, phase: 0 -[1] - Worker 36 (PID: 203) booted in 0.07s, phase: 0 -[1] - Worker 37 (PID: 208) booted in 0.07s, phase: 0 -[1] - Worker 38 (PID: 214) booted in 0.07s, phase: 0 -[1] - Worker 39 (PID: 220) booted in 0.07s, phase: 0 -[1] - Worker 40 (PID: 226) booted in 0.07s, phase: 0 -[1] - Worker 41 (PID: 232) booted in 0.07s, phase: 0 -[1] - Worker 42 (PID: 237) booted in 0.07s, phase: 0 -[1] - Worker 43 (PID: 241) booted in 0.07s, phase: 0 -[1] - Worker 44 (PID: 247) booted in 0.06s, phase: 0 -[1] - Worker 45 (PID: 253) booted in 0.06s, phase: 0 -[1] - Worker 46 (PID: 258) booted in 0.06s, phase: 0 -[1] - Worker 47 (PID: 263) booted in 0.06s, phase: 0 -[1] - Worker 48 (PID: 269) booted in 0.06s, phase: 0 -[1] - Worker 49 (PID: 275) booted in 0.06s, phase: 0 -[1] - Worker 50 (PID: 280) booted in 0.06s, phase: 0 -[1] - Worker 51 (PID: 288) booted in 0.06s, phase: 0 -[1] - Worker 52 (PID: 293) booted in 0.05s, phase: 0 -[1] - Worker 53 (PID: 299) booted in 0.05s, phase: 0 -[1] - Worker 54 (PID: 305) booted in 0.05s, phase: 0 -[1] - Worker 55 (PID: 312) booted in 0.05s, phase: 0 -[1] - Worker 56 (PID: 318) booted in 0.05s, phase: 0 -[1] - Worker 57 (PID: 324) booted in 0.05s, phase: 0 -[1] - Worker 58 (PID: 329) booted in 0.05s, phase: 0 -[1] - Worker 59 (PID: 337) booted in 0.04s, phase: 0 -[1] - Worker 60 (PID: 342) booted in 0.04s, phase: 0 -[1] - Worker 61 (PID: 348) booted in 0.04s, phase: 0 -[1] - Worker 62 (PID: 353) booted in 0.04s, phase: 0 -[1] - Worker 63 (PID: 359) booted in 0.04s, phase: 0 +[1] - Worker 0 (PID: 9) booted in 0.1s, phase: 0 +[1] - Worker 1 (PID: 13) booted in 0.1s, phase: 0 +[1] - Worker 2 (PID: 17) booted in 0.1s, phase: 0 +[1] - Worker 3 (PID: 21) booted in 0.1s, phase: 0 +[1] - Worker 4 (PID: 25) booted in 0.1s, phase: 0 +[1] - Worker 5 (PID: 29) booted in 0.1s, phase: 0 +[1] - Worker 6 (PID: 33) booted in 0.09s, phase: 0 +[1] - Worker 7 (PID: 37) booted in 0.09s, phase: 0 +[1] - Worker 8 (PID: 42) booted in 0.09s, phase: 0 +[1] - Worker 9 (PID: 47) booted in 0.09s, phase: 0 +[1] - Worker 10 (PID: 52) booted in 0.09s, phase: 0 +[1] - Worker 11 (PID: 57) booted in 0.09s, phase: 0 +[1] - Worker 12 (PID: 62) booted in 0.09s, phase: 0 +[1] - Worker 13 (PID: 69) booted in 0.08s, phase: 0 +[1] - Worker 14 (PID: 76) booted in 0.08s, phase: 0 +[1] - Worker 15 (PID: 82) booted in 0.08s, phase: 0 +[1] - Worker 16 (PID: 88) booted in 0.08s, phase: 0 +[1] - Worker 17 (PID: 94) booted in 0.08s, phase: 0 +[1] - Worker 18 (PID: 100) booted in 0.08s, phase: 0 +[1] - Worker 19 (PID: 105) booted in 0.08s, phase: 0 +[1] - Worker 20 (PID: 110) booted in 0.08s, phase: 0 +[1] - Worker 21 (PID: 116) booted in 0.08s, phase: 0 +[1] - Worker 22 (PID: 122) booted in 0.08s, phase: 0 +[1] - Worker 23 (PID: 128) booted in 0.08s, phase: 0 +[1] - Worker 24 (PID: 134) booted in 0.07s, phase: 0 +[1] - Worker 25 (PID: 140) booted in 0.07s, phase: 0 +[1] - Worker 26 (PID: 145) booted in 0.07s, phase: 0 +[1] - Worker 27 (PID: 150) booted in 0.07s, phase: 0 +[1] - Worker 28 (PID: 156) booted in 0.07s, phase: 0 +[1] - Worker 29 (PID: 164) booted in 0.07s, phase: 0 +[1] - Worker 30 (PID: 174) booted in 0.06s, phase: 0 +[1] - Worker 31 (PID: 179) booted in 0.06s, phase: 0 +[1] - Worker 32 (PID: 185) booted in 0.06s, phase: 0 +[1] - Worker 33 (PID: 191) booted in 0.06s, phase: 0 +[1] - Worker 34 (PID: 196) booted in 0.06s, phase: 0 +[1] - Worker 35 (PID: 201) booted in 0.06s, phase: 0 +[1] - Worker 36 (PID: 207) booted in 0.06s, phase: 0 +[1] - Worker 37 (PID: 212) booted in 0.06s, phase: 0 +[1] - Worker 38 (PID: 216) booted in 0.05s, phase: 0 +[1] - Worker 39 (PID: 223) booted in 0.05s, phase: 0 +[1] - Worker 40 (PID: 229) booted in 0.05s, phase: 0 +[1] - Worker 41 (PID: 234) booted in 0.05s, phase: 0 +[1] - Worker 42 (PID: 239) booted in 0.05s, phase: 0 +[1] - Worker 43 (PID: 245) booted in 0.05s, phase: 0 +[1] - Worker 44 (PID: 250) booted in 0.05s, phase: 0 +[1] - Worker 45 (PID: 255) booted in 0.05s, phase: 0 +[1] - Worker 46 (PID: 261) booted in 0.04s, phase: 0 +[1] - Worker 47 (PID: 267) booted in 0.04s, phase: 0 +[1] - Worker 48 (PID: 273) booted in 0.04s, phase: 0 +[1] - Worker 49 (PID: 279) booted in 0.04s, phase: 0 +[1] - Worker 50 (PID: 285) booted in 0.04s, phase: 0 +[1] - Worker 51 (PID: 291) booted in 0.04s, phase: 0 +[1] - Worker 52 (PID: 297) booted in 0.04s, phase: 0 +[1] - Worker 53 (PID: 303) booted in 0.04s, phase: 0 +[1] - Worker 54 (PID: 309) booted in 0.03s, phase: 0 +[1] - Worker 55 (PID: 315) booted in 0.03s, phase: 0 +[1] - Worker 56 (PID: 321) booted in 0.03s, phase: 0 +[1] - Worker 57 (PID: 329) booted in 0.03s, phase: 0 +[1] - Worker 58 (PID: 334) booted in 0.03s, phase: 0 +[1] - Worker 59 (PID: 340) booted in 0.03s, phase: 0 +[1] - Worker 60 (PID: 347) booted in 0.03s, phase: 0 +[1] - Worker 61 (PID: 353) booted in 0.02s, phase: 0 +[1] - Worker 62 (PID: 358) booted in 0.02s, phase: 0 +[1] - Worker 63 (PID: 364) booted in 0.02s, phase: 0 diff --git a/site/static/logs/json/4096/sinatra.log b/site/static/logs/json/4096/sinatra.log index cddbf9c7c..500329be3 100644 --- a/site/static/logs/json/4096/sinatra.log +++ b/site/static/logs/json/4096/sinatra.log @@ -1,6 +1,6 @@ [1] Puma starting in cluster mode... [1] * Puma version: 8.0.1 ("Into the Arena") -[1] * Ruby version: ruby 4.0.5 (2026-05-20 revision 64336ffd0e) +YJIT +MN +PRISM [x86_64-linux] +[1] * Ruby version: ruby 4.0.6 (2026-07-14 revision 03b6d3f889) +YJIT +MN +PRISM [x86_64-linux] [1] * Min threads: 3 [1] * Max threads: 3 [1] * Environment: production @@ -14,67 +14,67 @@ [1] ! WARNING: Detected `RUBY_MN_THREADS=1` [1] ! This setting is known to cause performance regressions with Puma. [1] ! Consider disabling this environment variable: https://github.com/puma/puma/issues/3720 -[1] - Worker 0 (PID: 9) booted in 0.11s, phase: 0 -[1] - Worker 1 (PID: 12) booted in 0.11s, phase: 0 -[1] - Worker 2 (PID: 15) booted in 0.11s, phase: 0 -[1] - Worker 3 (PID: 19) booted in 0.11s, phase: 0 -[1] - Worker 4 (PID: 23) booted in 0.1s, phase: 0 -[1] - Worker 5 (PID: 28) booted in 0.1s, phase: 0 -[1] - Worker 6 (PID: 32) booted in 0.1s, phase: 0 -[1] - Worker 7 (PID: 36) booted in 0.1s, phase: 0 -[1] - Worker 8 (PID: 40) booted in 0.09s, phase: 0 -[1] - Worker 9 (PID: 46) booted in 0.09s, phase: 0 -[1] - Worker 10 (PID: 51) booted in 0.09s, phase: 0 +[1] - Worker 0 (PID: 9) booted in 0.1s, phase: 0 +[1] - Worker 1 (PID: 13) booted in 0.1s, phase: 0 +[1] - Worker 2 (PID: 17) booted in 0.1s, phase: 0 +[1] - Worker 3 (PID: 21) booted in 0.1s, phase: 0 +[1] - Worker 4 (PID: 25) booted in 0.1s, phase: 0 +[1] - Worker 5 (PID: 29) booted in 0.09s, phase: 0 +[1] - Worker 6 (PID: 33) booted in 0.09s, phase: 0 +[1] - Worker 7 (PID: 37) booted in 0.09s, phase: 0 +[1] - Worker 8 (PID: 42) booted in 0.09s, phase: 0 +[1] - Worker 9 (PID: 47) booted in 0.09s, phase: 0 +[1] - Worker 10 (PID: 52) booted in 0.09s, phase: 0 [1] - Worker 11 (PID: 57) booted in 0.09s, phase: 0 -[1] - Worker 12 (PID: 60) booted in 0.09s, phase: 0 -[1] - Worker 13 (PID: 67) booted in 0.09s, phase: 0 -[1] - Worker 14 (PID: 75) booted in 0.09s, phase: 0 -[1] - Worker 15 (PID: 82) booted in 0.09s, phase: 0 -[1] - Worker 16 (PID: 86) booted in 0.09s, phase: 0 -[1] - Worker 17 (PID: 91) booted in 0.09s, phase: 0 -[1] - Worker 18 (PID: 96) booted in 0.09s, phase: 0 -[1] - Worker 19 (PID: 101) booted in 0.08s, phase: 0 -[1] - Worker 20 (PID: 108) booted in 0.09s, phase: 0 -[1] - Worker 21 (PID: 112) booted in 0.09s, phase: 0 -[1] - Worker 22 (PID: 118) booted in 0.09s, phase: 0 -[1] - Worker 23 (PID: 123) booted in 0.09s, phase: 0 -[1] - Worker 24 (PID: 127) booted in 0.09s, phase: 0 -[1] - Worker 25 (PID: 134) booted in 0.09s, phase: 0 -[1] - Worker 26 (PID: 140) booted in 0.09s, phase: 0 -[1] - Worker 27 (PID: 146) booted in 0.09s, phase: 0 -[1] - Worker 28 (PID: 151) booted in 0.09s, phase: 0 -[1] - Worker 29 (PID: 160) booted in 0.08s, phase: 0 -[1] - Worker 30 (PID: 169) booted in 0.08s, phase: 0 -[1] - Worker 31 (PID: 175) booted in 0.08s, phase: 0 -[1] - Worker 32 (PID: 180) booted in 0.08s, phase: 0 -[1] - Worker 33 (PID: 185) booted in 0.08s, phase: 0 -[1] - Worker 34 (PID: 191) booted in 0.08s, phase: 0 -[1] - Worker 35 (PID: 197) booted in 0.07s, phase: 0 -[1] - Worker 36 (PID: 202) booted in 0.07s, phase: 0 -[1] - Worker 37 (PID: 207) booted in 0.07s, phase: 0 -[1] - Worker 38 (PID: 213) booted in 0.07s, phase: 0 -[1] - Worker 39 (PID: 218) booted in 0.07s, phase: 0 -[1] - Worker 40 (PID: 224) booted in 0.07s, phase: 0 -[1] - Worker 41 (PID: 230) booted in 0.07s, phase: 0 -[1] - Worker 42 (PID: 236) booted in 0.07s, phase: 0 -[1] - Worker 43 (PID: 242) booted in 0.07s, phase: 0 -[1] - Worker 44 (PID: 247) booted in 0.06s, phase: 0 -[1] - Worker 45 (PID: 252) booted in 0.06s, phase: 0 -[1] - Worker 46 (PID: 257) booted in 0.06s, phase: 0 -[1] - Worker 47 (PID: 262) booted in 0.06s, phase: 0 -[1] - Worker 48 (PID: 269) booted in 0.06s, phase: 0 -[1] - Worker 49 (PID: 274) booted in 0.06s, phase: 0 -[1] - Worker 50 (PID: 282) booted in 0.06s, phase: 0 -[1] - Worker 51 (PID: 287) booted in 0.05s, phase: 0 -[1] - Worker 52 (PID: 294) booted in 0.05s, phase: 0 -[1] - Worker 53 (PID: 299) booted in 0.05s, phase: 0 -[1] - Worker 54 (PID: 305) booted in 0.05s, phase: 0 -[1] - Worker 55 (PID: 312) booted in 0.05s, phase: 0 -[1] - Worker 56 (PID: 317) booted in 0.05s, phase: 0 -[1] - Worker 57 (PID: 323) booted in 0.05s, phase: 0 -[1] - Worker 58 (PID: 329) booted in 0.04s, phase: 0 -[1] - Worker 59 (PID: 335) booted in 0.04s, phase: 0 -[1] - Worker 60 (PID: 341) booted in 0.04s, phase: 0 -[1] - Worker 61 (PID: 348) booted in 0.04s, phase: 0 -[1] - Worker 62 (PID: 353) booted in 0.04s, phase: 0 -[1] - Worker 63 (PID: 359) booted in 0.04s, phase: 0 +[1] - Worker 12 (PID: 62) booted in 0.08s, phase: 0 +[1] - Worker 13 (PID: 69) booted in 0.08s, phase: 0 +[1] - Worker 14 (PID: 76) booted in 0.08s, phase: 0 +[1] - Worker 15 (PID: 82) booted in 0.08s, phase: 0 +[1] - Worker 16 (PID: 88) booted in 0.08s, phase: 0 +[1] - Worker 17 (PID: 94) booted in 0.08s, phase: 0 +[1] - Worker 18 (PID: 100) booted in 0.08s, phase: 0 +[1] - Worker 19 (PID: 105) booted in 0.08s, phase: 0 +[1] - Worker 20 (PID: 110) booted in 0.08s, phase: 0 +[1] - Worker 21 (PID: 116) booted in 0.08s, phase: 0 +[1] - Worker 22 (PID: 121) booted in 0.07s, phase: 0 +[1] - Worker 23 (PID: 127) booted in 0.07s, phase: 0 +[1] - Worker 24 (PID: 132) booted in 0.07s, phase: 0 +[1] - Worker 25 (PID: 140) booted in 0.07s, phase: 0 +[1] - Worker 26 (PID: 145) booted in 0.07s, phase: 0 +[1] - Worker 27 (PID: 150) booted in 0.07s, phase: 0 +[1] - Worker 28 (PID: 156) booted in 0.07s, phase: 0 +[1] - Worker 29 (PID: 164) booted in 0.06s, phase: 0 +[1] - Worker 30 (PID: 174) booted in 0.06s, phase: 0 +[1] - Worker 31 (PID: 179) booted in 0.06s, phase: 0 +[1] - Worker 32 (PID: 185) booted in 0.06s, phase: 0 +[1] - Worker 33 (PID: 191) booted in 0.06s, phase: 0 +[1] - Worker 34 (PID: 196) booted in 0.06s, phase: 0 +[1] - Worker 35 (PID: 201) booted in 0.06s, phase: 0 +[1] - Worker 36 (PID: 206) booted in 0.06s, phase: 0 +[1] - Worker 37 (PID: 212) booted in 0.05s, phase: 0 +[1] - Worker 38 (PID: 217) booted in 0.05s, phase: 0 +[1] - Worker 39 (PID: 223) booted in 0.05s, phase: 0 +[1] - Worker 40 (PID: 229) booted in 0.05s, phase: 0 +[1] - Worker 41 (PID: 234) booted in 0.05s, phase: 0 +[1] - Worker 42 (PID: 239) booted in 0.05s, phase: 0 +[1] - Worker 43 (PID: 245) booted in 0.05s, phase: 0 +[1] - Worker 44 (PID: 250) booted in 0.05s, phase: 0 +[1] - Worker 45 (PID: 255) booted in 0.04s, phase: 0 +[1] - Worker 46 (PID: 261) booted in 0.04s, phase: 0 +[1] - Worker 47 (PID: 267) booted in 0.04s, phase: 0 +[1] - Worker 48 (PID: 273) booted in 0.04s, phase: 0 +[1] - Worker 49 (PID: 279) booted in 0.04s, phase: 0 +[1] - Worker 50 (PID: 285) booted in 0.04s, phase: 0 +[1] - Worker 51 (PID: 291) booted in 0.04s, phase: 0 +[1] - Worker 52 (PID: 297) booted in 0.04s, phase: 0 +[1] - Worker 53 (PID: 303) booted in 0.03s, phase: 0 +[1] - Worker 54 (PID: 309) booted in 0.03s, phase: 0 +[1] - Worker 55 (PID: 315) booted in 0.03s, phase: 0 +[1] - Worker 56 (PID: 321) booted in 0.03s, phase: 0 +[1] - Worker 57 (PID: 327) booted in 0.03s, phase: 0 +[1] - Worker 58 (PID: 333) booted in 0.03s, phase: 0 +[1] - Worker 59 (PID: 339) booted in 0.03s, phase: 0 +[1] - Worker 60 (PID: 345) booted in 0.03s, phase: 0 +[1] - Worker 61 (PID: 351) booted in 0.02s, phase: 0 +[1] - Worker 62 (PID: 357) booted in 0.02s, phase: 0 +[1] - Worker 63 (PID: 363) booted in 0.02s, phase: 0 diff --git a/site/static/logs/limited-conn/4096/sinatra.log b/site/static/logs/limited-conn/4096/sinatra.log index 9b2a056b4..c6d193df8 100644 --- a/site/static/logs/limited-conn/4096/sinatra.log +++ b/site/static/logs/limited-conn/4096/sinatra.log @@ -1,6 +1,6 @@ [1] Puma starting in cluster mode... [1] * Puma version: 8.0.1 ("Into the Arena") -[1] * Ruby version: ruby 4.0.5 (2026-05-20 revision 64336ffd0e) +YJIT +MN +PRISM [x86_64-linux] +[1] * Ruby version: ruby 4.0.6 (2026-07-14 revision 03b6d3f889) +YJIT +MN +PRISM [x86_64-linux] [1] * Min threads: 3 [1] * Max threads: 3 [1] * Environment: production @@ -14,67 +14,67 @@ [1] ! WARNING: Detected `RUBY_MN_THREADS=1` [1] ! This setting is known to cause performance regressions with Puma. [1] ! Consider disabling this environment variable: https://github.com/puma/puma/issues/3720 -[1] - Worker 0 (PID: 10) booted in 0.11s, phase: 0 -[1] - Worker 1 (PID: 13) booted in 0.11s, phase: 0 -[1] - Worker 2 (PID: 16) booted in 0.11s, phase: 0 -[1] - Worker 3 (PID: 20) booted in 0.11s, phase: 0 -[1] - Worker 4 (PID: 24) booted in 0.11s, phase: 0 -[1] - Worker 5 (PID: 28) booted in 0.11s, phase: 0 -[1] - Worker 6 (PID: 32) booted in 0.1s, phase: 0 -[1] - Worker 7 (PID: 36) booted in 0.1s, phase: 0 -[1] - Worker 8 (PID: 41) booted in 0.1s, phase: 0 -[1] - Worker 9 (PID: 44) booted in 0.1s, phase: 0 -[1] - Worker 10 (PID: 49) booted in 0.1s, phase: 0 -[1] - Worker 11 (PID: 55) booted in 0.1s, phase: 0 -[1] - Worker 12 (PID: 59) booted in 0.09s, phase: 0 -[1] - Worker 13 (PID: 68) booted in 0.09s, phase: 0 -[1] - Worker 14 (PID: 72) booted in 0.09s, phase: 0 -[1] - Worker 15 (PID: 79) booted in 0.09s, phase: 0 -[1] - Worker 16 (PID: 84) booted in 0.09s, phase: 0 -[1] - Worker 17 (PID: 89) booted in 0.09s, phase: 0 -[1] - Worker 18 (PID: 95) booted in 0.09s, phase: 0 -[1] - Worker 19 (PID: 104) booted in 0.09s, phase: 0 -[1] - Worker 20 (PID: 109) booted in 0.09s, phase: 0 -[1] - Worker 21 (PID: 113) booted in 0.1s, phase: 0 -[1] - Worker 22 (PID: 119) booted in 0.1s, phase: 0 -[1] - Worker 23 (PID: 125) booted in 0.1s, phase: 0 -[1] - Worker 24 (PID: 131) booted in 0.1s, phase: 0 -[1] - Worker 25 (PID: 137) booted in 0.09s, phase: 0 -[1] - Worker 26 (PID: 143) booted in 0.09s, phase: 0 -[1] - Worker 27 (PID: 148) booted in 0.09s, phase: 0 -[1] - Worker 28 (PID: 155) booted in 0.09s, phase: 0 -[1] - Worker 29 (PID: 166) booted in 0.09s, phase: 0 -[1] - Worker 30 (PID: 176) booted in 0.08s, phase: 0 -[1] - Worker 31 (PID: 180) booted in 0.08s, phase: 0 -[1] - Worker 32 (PID: 186) booted in 0.08s, phase: 0 -[1] - Worker 33 (PID: 190) booted in 0.08s, phase: 0 -[1] - Worker 34 (PID: 195) booted in 0.08s, phase: 0 -[1] - Worker 35 (PID: 200) booted in 0.08s, phase: 0 -[1] - Worker 36 (PID: 205) booted in 0.08s, phase: 0 -[1] - Worker 37 (PID: 212) booted in 0.07s, phase: 0 -[1] - Worker 38 (PID: 216) booted in 0.07s, phase: 0 -[1] - Worker 39 (PID: 221) booted in 0.07s, phase: 0 -[1] - Worker 40 (PID: 226) booted in 0.07s, phase: 0 -[1] - Worker 41 (PID: 232) booted in 0.07s, phase: 0 -[1] - Worker 42 (PID: 238) booted in 0.07s, phase: 0 -[1] - Worker 43 (PID: 243) booted in 0.07s, phase: 0 -[1] - Worker 44 (PID: 248) booted in 0.07s, phase: 0 -[1] - Worker 45 (PID: 253) booted in 0.06s, phase: 0 -[1] - Worker 46 (PID: 258) booted in 0.06s, phase: 0 -[1] - Worker 47 (PID: 263) booted in 0.06s, phase: 0 -[1] - Worker 48 (PID: 269) booted in 0.06s, phase: 0 -[1] - Worker 49 (PID: 277) booted in 0.06s, phase: 0 -[1] - Worker 50 (PID: 282) booted in 0.06s, phase: 0 -[1] - Worker 51 (PID: 287) booted in 0.06s, phase: 0 -[1] - Worker 52 (PID: 293) booted in 0.06s, phase: 0 -[1] - Worker 53 (PID: 299) booted in 0.05s, phase: 0 -[1] - Worker 54 (PID: 304) booted in 0.05s, phase: 0 -[1] - Worker 55 (PID: 311) booted in 0.05s, phase: 0 -[1] - Worker 56 (PID: 318) booted in 0.05s, phase: 0 -[1] - Worker 57 (PID: 325) booted in 0.05s, phase: 0 -[1] - Worker 58 (PID: 330) booted in 0.05s, phase: 0 -[1] - Worker 59 (PID: 334) booted in 0.05s, phase: 0 -[1] - Worker 61 (PID: 350) booted in 0.04s, phase: 0 -[1] - Worker 60 (PID: 343) booted in 0.04s, phase: 0 -[1] - Worker 62 (PID: 359) booted in 0.04s, phase: 0 -[1] - Worker 63 (PID: 365) booted in 0.04s, phase: 0 +[1] - Worker 0 (PID: 9) booted in 0.1s, phase: 0 +[1] - Worker 1 (PID: 13) booted in 0.1s, phase: 0 +[1] - Worker 2 (PID: 17) booted in 0.1s, phase: 0 +[1] - Worker 3 (PID: 21) booted in 0.1s, phase: 0 +[1] - Worker 4 (PID: 25) booted in 0.1s, phase: 0 +[1] - Worker 5 (PID: 29) booted in 0.09s, phase: 0 +[1] - Worker 6 (PID: 33) booted in 0.09s, phase: 0 +[1] - Worker 7 (PID: 37) booted in 0.09s, phase: 0 +[1] - Worker 8 (PID: 42) booted in 0.09s, phase: 0 +[1] - Worker 9 (PID: 47) booted in 0.09s, phase: 0 +[1] - Worker 10 (PID: 52) booted in 0.09s, phase: 0 +[1] - Worker 11 (PID: 57) booted in 0.09s, phase: 0 +[1] - Worker 12 (PID: 62) booted in 0.08s, phase: 0 +[1] - Worker 13 (PID: 68) booted in 0.08s, phase: 0 +[1] - Worker 14 (PID: 76) booted in 0.08s, phase: 0 +[1] - Worker 15 (PID: 82) booted in 0.08s, phase: 0 +[1] - Worker 16 (PID: 88) booted in 0.08s, phase: 0 +[1] - Worker 17 (PID: 94) booted in 0.08s, phase: 0 +[1] - Worker 18 (PID: 100) booted in 0.08s, phase: 0 +[1] - Worker 19 (PID: 105) booted in 0.08s, phase: 0 +[1] - Worker 20 (PID: 110) booted in 0.08s, phase: 0 +[1] - Worker 21 (PID: 116) booted in 0.08s, phase: 0 +[1] - Worker 22 (PID: 122) booted in 0.08s, phase: 0 +[1] - Worker 23 (PID: 127) booted in 0.07s, phase: 0 +[1] - Worker 24 (PID: 134) booted in 0.07s, phase: 0 +[1] - Worker 25 (PID: 140) booted in 0.07s, phase: 0 +[1] - Worker 26 (PID: 145) booted in 0.07s, phase: 0 +[1] - Worker 27 (PID: 150) booted in 0.07s, phase: 0 +[1] - Worker 28 (PID: 156) booted in 0.07s, phase: 0 +[1] - Worker 29 (PID: 164) booted in 0.06s, phase: 0 +[1] - Worker 30 (PID: 174) booted in 0.06s, phase: 0 +[1] - Worker 31 (PID: 179) booted in 0.06s, phase: 0 +[1] - Worker 32 (PID: 185) booted in 0.06s, phase: 0 +[1] - Worker 33 (PID: 191) booted in 0.06s, phase: 0 +[1] - Worker 34 (PID: 196) booted in 0.06s, phase: 0 +[1] - Worker 35 (PID: 201) booted in 0.06s, phase: 0 +[1] - Worker 36 (PID: 207) booted in 0.06s, phase: 0 +[1] - Worker 37 (PID: 212) booted in 0.05s, phase: 0 +[1] - Worker 38 (PID: 217) booted in 0.05s, phase: 0 +[1] - Worker 39 (PID: 223) booted in 0.05s, phase: 0 +[1] - Worker 40 (PID: 229) booted in 0.05s, phase: 0 +[1] - Worker 41 (PID: 234) booted in 0.05s, phase: 0 +[1] - Worker 42 (PID: 239) booted in 0.05s, phase: 0 +[1] - Worker 43 (PID: 245) booted in 0.05s, phase: 0 +[1] - Worker 44 (PID: 250) booted in 0.05s, phase: 0 +[1] - Worker 45 (PID: 255) booted in 0.04s, phase: 0 +[1] - Worker 46 (PID: 261) booted in 0.04s, phase: 0 +[1] - Worker 47 (PID: 267) booted in 0.04s, phase: 0 +[1] - Worker 48 (PID: 273) booted in 0.04s, phase: 0 +[1] - Worker 49 (PID: 279) booted in 0.04s, phase: 0 +[1] - Worker 50 (PID: 285) booted in 0.04s, phase: 0 +[1] - Worker 51 (PID: 291) booted in 0.04s, phase: 0 +[1] - Worker 52 (PID: 297) booted in 0.04s, phase: 0 +[1] - Worker 53 (PID: 303) booted in 0.03s, phase: 0 +[1] - Worker 54 (PID: 309) booted in 0.03s, phase: 0 +[1] - Worker 55 (PID: 315) booted in 0.03s, phase: 0 +[1] - Worker 56 (PID: 321) booted in 0.03s, phase: 0 +[1] - Worker 57 (PID: 327) booted in 0.03s, phase: 0 +[1] - Worker 58 (PID: 333) booted in 0.03s, phase: 0 +[1] - Worker 59 (PID: 339) booted in 0.03s, phase: 0 +[1] - Worker 60 (PID: 345) booted in 0.03s, phase: 0 +[1] - Worker 61 (PID: 351) booted in 0.02s, phase: 0 +[1] - Worker 62 (PID: 357) booted in 0.02s, phase: 0 +[1] - Worker 63 (PID: 363) booted in 0.02s, phase: 0 diff --git a/site/static/logs/limited-conn/512/sinatra.log b/site/static/logs/limited-conn/512/sinatra.log index 37a13c7f7..7fe4878be 100644 --- a/site/static/logs/limited-conn/512/sinatra.log +++ b/site/static/logs/limited-conn/512/sinatra.log @@ -1,6 +1,6 @@ [1] Puma starting in cluster mode... [1] * Puma version: 8.0.1 ("Into the Arena") -[1] * Ruby version: ruby 4.0.5 (2026-05-20 revision 64336ffd0e) +YJIT +MN +PRISM [x86_64-linux] +[1] * Ruby version: ruby 4.0.6 (2026-07-14 revision 03b6d3f889) +YJIT +MN +PRISM [x86_64-linux] [1] * Min threads: 3 [1] * Max threads: 3 [1] * Environment: production @@ -15,66 +15,66 @@ [1] ! This setting is known to cause performance regressions with Puma. [1] ! Consider disabling this environment variable: https://github.com/puma/puma/issues/3720 [1] - Worker 0 (PID: 9) booted in 0.1s, phase: 0 -[1] - Worker 1 (PID: 12) booted in 0.1s, phase: 0 -[1] - Worker 2 (PID: 15) booted in 0.1s, phase: 0 -[1] - Worker 3 (PID: 19) booted in 0.1s, phase: 0 -[1] - Worker 4 (PID: 23) booted in 0.1s, phase: 0 -[1] - Worker 5 (PID: 27) booted in 0.1s, phase: 0 -[1] - Worker 6 (PID: 31) booted in 0.1s, phase: 0 -[1] - Worker 7 (PID: 35) booted in 0.1s, phase: 0 -[1] - Worker 8 (PID: 39) booted in 0.09s, phase: 0 -[1] - Worker 9 (PID: 43) booted in 0.09s, phase: 0 -[1] - Worker 10 (PID: 48) booted in 0.09s, phase: 0 -[1] - Worker 11 (PID: 53) booted in 0.09s, phase: 0 -[1] - Worker 12 (PID: 58) booted in 0.09s, phase: 0 -[1] - Worker 13 (PID: 67) booted in 0.09s, phase: 0 -[1] - Worker 14 (PID: 72) booted in 0.09s, phase: 0 -[1] - Worker 15 (PID: 78) booted in 0.09s, phase: 0 -[1] - Worker 16 (PID: 82) booted in 0.09s, phase: 0 -[1] - Worker 17 (PID: 88) booted in 0.09s, phase: 0 -[1] - Worker 18 (PID: 94) booted in 0.09s, phase: 0 -[1] - Worker 19 (PID: 100) booted in 0.09s, phase: 0 -[1] - Worker 20 (PID: 107) booted in 0.09s, phase: 0 -[1] - Worker 21 (PID: 111) booted in 0.09s, phase: 0 -[1] - Worker 22 (PID: 116) booted in 0.09s, phase: 0 -[1] - Worker 23 (PID: 122) booted in 0.09s, phase: 0 -[1] - Worker 24 (PID: 128) booted in 0.09s, phase: 0 -[1] - Worker 25 (PID: 134) booted in 0.09s, phase: 0 -[1] - Worker 26 (PID: 140) booted in 0.09s, phase: 0 -[1] - Worker 27 (PID: 146) booted in 0.09s, phase: 0 -[1] - Worker 28 (PID: 151) booted in 0.09s, phase: 0 -[1] - Worker 29 (PID: 159) booted in 0.08s, phase: 0 -[1] - Worker 30 (PID: 169) booted in 0.08s, phase: 0 -[1] - Worker 31 (PID: 175) booted in 0.08s, phase: 0 -[1] - Worker 32 (PID: 180) booted in 0.08s, phase: 0 -[1] - Worker 33 (PID: 184) booted in 0.08s, phase: 0 -[1] - Worker 34 (PID: 191) booted in 0.08s, phase: 0 -[1] - Worker 35 (PID: 197) booted in 0.08s, phase: 0 -[1] - Worker 36 (PID: 202) booted in 0.07s, phase: 0 -[1] - Worker 37 (PID: 208) booted in 0.07s, phase: 0 -[1] - Worker 38 (PID: 213) booted in 0.07s, phase: 0 -[1] - Worker 39 (PID: 218) booted in 0.07s, phase: 0 -[1] - Worker 40 (PID: 223) booted in 0.07s, phase: 0 -[1] - Worker 41 (PID: 231) booted in 0.07s, phase: 0 -[1] - Worker 42 (PID: 236) booted in 0.07s, phase: 0 -[1] - Worker 43 (PID: 241) booted in 0.07s, phase: 0 -[1] - Worker 44 (PID: 248) booted in 0.06s, phase: 0 -[1] - Worker 45 (PID: 252) booted in 0.06s, phase: 0 -[1] - Worker 46 (PID: 258) booted in 0.06s, phase: 0 -[1] - Worker 47 (PID: 264) booted in 0.06s, phase: 0 -[1] - Worker 48 (PID: 269) booted in 0.06s, phase: 0 -[1] - Worker 49 (PID: 275) booted in 0.06s, phase: 0 -[1] - Worker 50 (PID: 282) booted in 0.06s, phase: 0 -[1] - Worker 51 (PID: 287) booted in 0.05s, phase: 0 -[1] - Worker 52 (PID: 293) booted in 0.05s, phase: 0 -[1] - Worker 53 (PID: 299) booted in 0.05s, phase: 0 -[1] - Worker 54 (PID: 306) booted in 0.05s, phase: 0 -[1] - Worker 55 (PID: 311) booted in 0.05s, phase: 0 -[1] - Worker 56 (PID: 317) booted in 0.05s, phase: 0 -[1] - Worker 57 (PID: 324) booted in 0.05s, phase: 0 -[1] - Worker 58 (PID: 329) booted in 0.04s, phase: 0 -[1] - Worker 59 (PID: 335) booted in 0.04s, phase: 0 -[1] - Worker 60 (PID: 341) booted in 0.04s, phase: 0 -[1] - Worker 61 (PID: 347) booted in 0.04s, phase: 0 -[1] - Worker 62 (PID: 353) booted in 0.04s, phase: 0 -[1] - Worker 63 (PID: 358) booted in 0.04s, phase: 0 +[1] - Worker 1 (PID: 13) booted in 0.1s, phase: 0 +[1] - Worker 2 (PID: 17) booted in 0.1s, phase: 0 +[1] - Worker 3 (PID: 21) booted in 0.1s, phase: 0 +[1] - Worker 4 (PID: 25) booted in 0.1s, phase: 0 +[1] - Worker 5 (PID: 29) booted in 0.09s, phase: 0 +[1] - Worker 6 (PID: 33) booted in 0.09s, phase: 0 +[1] - Worker 7 (PID: 37) booted in 0.09s, phase: 0 +[1] - Worker 8 (PID: 42) booted in 0.09s, phase: 0 +[1] - Worker 9 (PID: 47) booted in 0.09s, phase: 0 +[1] - Worker 10 (PID: 52) booted in 0.09s, phase: 0 +[1] - Worker 11 (PID: 57) booted in 0.09s, phase: 0 +[1] - Worker 12 (PID: 62) booted in 0.08s, phase: 0 +[1] - Worker 13 (PID: 68) booted in 0.08s, phase: 0 +[1] - Worker 14 (PID: 76) booted in 0.08s, phase: 0 +[1] - Worker 15 (PID: 82) booted in 0.08s, phase: 0 +[1] - Worker 16 (PID: 88) booted in 0.08s, phase: 0 +[1] - Worker 17 (PID: 94) booted in 0.08s, phase: 0 +[1] - Worker 18 (PID: 99) booted in 0.08s, phase: 0 +[1] - Worker 19 (PID: 105) booted in 0.08s, phase: 0 +[1] - Worker 20 (PID: 111) booted in 0.08s, phase: 0 +[1] - Worker 21 (PID: 116) booted in 0.08s, phase: 0 +[1] - Worker 22 (PID: 122) booted in 0.08s, phase: 0 +[1] - Worker 23 (PID: 128) booted in 0.07s, phase: 0 +[1] - Worker 24 (PID: 134) booted in 0.07s, phase: 0 +[1] - Worker 25 (PID: 140) booted in 0.07s, phase: 0 +[1] - Worker 26 (PID: 145) booted in 0.07s, phase: 0 +[1] - Worker 27 (PID: 150) booted in 0.07s, phase: 0 +[1] - Worker 28 (PID: 156) booted in 0.07s, phase: 0 +[1] - Worker 29 (PID: 164) booted in 0.06s, phase: 0 +[1] - Worker 30 (PID: 174) booted in 0.06s, phase: 0 +[1] - Worker 31 (PID: 179) booted in 0.06s, phase: 0 +[1] - Worker 32 (PID: 185) booted in 0.06s, phase: 0 +[1] - Worker 33 (PID: 191) booted in 0.06s, phase: 0 +[1] - Worker 34 (PID: 196) booted in 0.06s, phase: 0 +[1] - Worker 35 (PID: 201) booted in 0.06s, phase: 0 +[1] - Worker 36 (PID: 207) booted in 0.06s, phase: 0 +[1] - Worker 37 (PID: 212) booted in 0.05s, phase: 0 +[1] - Worker 38 (PID: 217) booted in 0.05s, phase: 0 +[1] - Worker 39 (PID: 223) booted in 0.05s, phase: 0 +[1] - Worker 40 (PID: 229) booted in 0.05s, phase: 0 +[1] - Worker 41 (PID: 234) booted in 0.05s, phase: 0 +[1] - Worker 42 (PID: 239) booted in 0.05s, phase: 0 +[1] - Worker 43 (PID: 245) booted in 0.05s, phase: 0 +[1] - Worker 44 (PID: 250) booted in 0.05s, phase: 0 +[1] - Worker 45 (PID: 255) booted in 0.04s, phase: 0 +[1] - Worker 46 (PID: 261) booted in 0.04s, phase: 0 +[1] - Worker 47 (PID: 267) booted in 0.04s, phase: 0 +[1] - Worker 48 (PID: 273) booted in 0.04s, phase: 0 +[1] - Worker 49 (PID: 278) booted in 0.04s, phase: 0 +[1] - Worker 50 (PID: 285) booted in 0.04s, phase: 0 +[1] - Worker 51 (PID: 291) booted in 0.04s, phase: 0 +[1] - Worker 52 (PID: 297) booted in 0.04s, phase: 0 +[1] - Worker 53 (PID: 303) booted in 0.03s, phase: 0 +[1] - Worker 54 (PID: 309) booted in 0.03s, phase: 0 +[1] - Worker 55 (PID: 315) booted in 0.03s, phase: 0 +[1] - Worker 56 (PID: 321) booted in 0.03s, phase: 0 +[1] - Worker 57 (PID: 327) booted in 0.03s, phase: 0 +[1] - Worker 58 (PID: 333) booted in 0.03s, phase: 0 +[1] - Worker 59 (PID: 339) booted in 0.03s, phase: 0 +[1] - Worker 60 (PID: 345) booted in 0.03s, phase: 0 +[1] - Worker 61 (PID: 351) booted in 0.02s, phase: 0 +[1] - Worker 62 (PID: 357) booted in 0.02s, phase: 0 +[1] - Worker 63 (PID: 363) booted in 0.02s, phase: 0 diff --git a/site/static/logs/pipelined/4096/sinatra.log b/site/static/logs/pipelined/4096/sinatra.log index 9d147c9ba..3c1f5d874 100644 --- a/site/static/logs/pipelined/4096/sinatra.log +++ b/site/static/logs/pipelined/4096/sinatra.log @@ -1,6 +1,6 @@ [1] Puma starting in cluster mode... [1] * Puma version: 8.0.1 ("Into the Arena") -[1] * Ruby version: ruby 4.0.5 (2026-05-20 revision 64336ffd0e) +YJIT +MN +PRISM [x86_64-linux] +[1] * Ruby version: ruby 4.0.6 (2026-07-14 revision 03b6d3f889) +YJIT +MN +PRISM [x86_64-linux] [1] * Min threads: 3 [1] * Max threads: 3 [1] * Environment: production @@ -14,67 +14,67 @@ [1] ! WARNING: Detected `RUBY_MN_THREADS=1` [1] ! This setting is known to cause performance regressions with Puma. [1] ! Consider disabling this environment variable: https://github.com/puma/puma/issues/3720 -[1] - Worker 0 (PID: 9) booted in 0.11s, phase: 0 -[1] - Worker 1 (PID: 12) booted in 0.11s, phase: 0 -[1] - Worker 2 (PID: 15) booted in 0.11s, phase: 0 -[1] - Worker 3 (PID: 20) booted in 0.1s, phase: 0 -[1] - Worker 4 (PID: 24) booted in 0.1s, phase: 0 -[1] - Worker 5 (PID: 27) booted in 0.1s, phase: 0 -[1] - Worker 6 (PID: 31) booted in 0.1s, phase: 0 -[1] - Worker 7 (PID: 35) booted in 0.1s, phase: 0 -[1] - Worker 8 (PID: 40) booted in 0.1s, phase: 0 -[1] - Worker 9 (PID: 44) booted in 0.1s, phase: 0 -[1] - Worker 10 (PID: 49) booted in 0.1s, phase: 0 -[1] - Worker 11 (PID: 54) booted in 0.09s, phase: 0 -[1] - Worker 12 (PID: 58) booted in 0.09s, phase: 0 -[1] - Worker 13 (PID: 67) booted in 0.09s, phase: 0 -[1] - Worker 14 (PID: 72) booted in 0.09s, phase: 0 -[1] - Worker 15 (PID: 78) booted in 0.09s, phase: 0 -[1] - Worker 16 (PID: 83) booted in 0.09s, phase: 0 -[1] - Worker 17 (PID: 88) booted in 0.09s, phase: 0 -[1] - Worker 18 (PID: 94) booted in 0.09s, phase: 0 -[1] - Worker 19 (PID: 100) booted in 0.09s, phase: 0 -[1] - Worker 20 (PID: 106) booted in 0.09s, phase: 0 -[1] - Worker 21 (PID: 111) booted in 0.09s, phase: 0 -[1] - Worker 22 (PID: 117) booted in 0.1s, phase: 0 -[1] - Worker 23 (PID: 122) booted in 0.09s, phase: 0 -[1] - Worker 24 (PID: 128) booted in 0.09s, phase: 0 -[1] - Worker 25 (PID: 134) booted in 0.09s, phase: 0 -[1] - Worker 26 (PID: 140) booted in 0.09s, phase: 0 -[1] - Worker 27 (PID: 147) booted in 0.09s, phase: 0 -[1] - Worker 28 (PID: 151) booted in 0.09s, phase: 0 -[1] - Worker 29 (PID: 162) booted in 0.08s, phase: 0 -[1] - Worker 30 (PID: 173) booted in 0.08s, phase: 0 -[1] - Worker 31 (PID: 178) booted in 0.08s, phase: 0 -[1] - Worker 32 (PID: 184) booted in 0.08s, phase: 0 -[1] - Worker 33 (PID: 188) booted in 0.08s, phase: 0 -[1] - Worker 34 (PID: 194) booted in 0.08s, phase: 0 -[1] - Worker 35 (PID: 200) booted in 0.07s, phase: 0 -[1] - Worker 36 (PID: 208) booted in 0.07s, phase: 0 -[1] - Worker 37 (PID: 212) booted in 0.07s, phase: 0 -[1] - Worker 38 (PID: 217) booted in 0.07s, phase: 0 -[1] - Worker 39 (PID: 222) booted in 0.07s, phase: 0 -[1] - Worker 40 (PID: 228) booted in 0.07s, phase: 0 -[1] - Worker 41 (PID: 233) booted in 0.07s, phase: 0 -[1] - Worker 42 (PID: 239) booted in 0.06s, phase: 0 -[1] - Worker 43 (PID: 244) booted in 0.06s, phase: 0 -[1] - Worker 44 (PID: 247) booted in 0.06s, phase: 0 -[1] - Worker 45 (PID: 252) booted in 0.06s, phase: 0 -[1] - Worker 46 (PID: 257) booted in 0.06s, phase: 0 -[1] - Worker 47 (PID: 265) booted in 0.06s, phase: 0 -[1] - Worker 48 (PID: 270) booted in 0.06s, phase: 0 -[1] - Worker 49 (PID: 275) booted in 0.06s, phase: 0 -[1] - Worker 50 (PID: 282) booted in 0.05s, phase: 0 -[1] - Worker 51 (PID: 286) booted in 0.05s, phase: 0 -[1] - Worker 52 (PID: 292) booted in 0.05s, phase: 0 -[1] - Worker 53 (PID: 297) booted in 0.05s, phase: 0 -[1] - Worker 54 (PID: 305) booted in 0.05s, phase: 0 -[1] - Worker 55 (PID: 310) booted in 0.05s, phase: 0 -[1] - Worker 56 (PID: 315) booted in 0.05s, phase: 0 -[1] - Worker 57 (PID: 323) booted in 0.04s, phase: 0 -[1] - Worker 58 (PID: 328) booted in 0.04s, phase: 0 -[1] - Worker 59 (PID: 333) booted in 0.04s, phase: 0 -[1] - Worker 60 (PID: 341) booted in 0.04s, phase: 0 -[1] - Worker 61 (PID: 346) booted in 0.04s, phase: 0 -[1] - Worker 62 (PID: 351) booted in 0.04s, phase: 0 -[1] - Worker 63 (PID: 357) booted in 0.04s, phase: 0 +[1] - Worker 0 (PID: 9) booted in 0.1s, phase: 0 +[1] - Worker 1 (PID: 13) booted in 0.1s, phase: 0 +[1] - Worker 2 (PID: 17) booted in 0.1s, phase: 0 +[1] - Worker 3 (PID: 21) booted in 0.1s, phase: 0 +[1] - Worker 4 (PID: 25) booted in 0.1s, phase: 0 +[1] - Worker 5 (PID: 29) booted in 0.1s, phase: 0 +[1] - Worker 6 (PID: 33) booted in 0.09s, phase: 0 +[1] - Worker 7 (PID: 37) booted in 0.09s, phase: 0 +[1] - Worker 8 (PID: 42) booted in 0.09s, phase: 0 +[1] - Worker 9 (PID: 47) booted in 0.09s, phase: 0 +[1] - Worker 10 (PID: 52) booted in 0.09s, phase: 0 +[1] - Worker 11 (PID: 57) booted in 0.09s, phase: 0 +[1] - Worker 12 (PID: 62) booted in 0.08s, phase: 0 +[1] - Worker 13 (PID: 69) booted in 0.08s, phase: 0 +[1] - Worker 14 (PID: 76) booted in 0.08s, phase: 0 +[1] - Worker 15 (PID: 82) booted in 0.08s, phase: 0 +[1] - Worker 16 (PID: 88) booted in 0.08s, phase: 0 +[1] - Worker 17 (PID: 94) booted in 0.08s, phase: 0 +[1] - Worker 18 (PID: 100) booted in 0.08s, phase: 0 +[1] - Worker 19 (PID: 105) booted in 0.08s, phase: 0 +[1] - Worker 20 (PID: 110) booted in 0.08s, phase: 0 +[1] - Worker 21 (PID: 116) booted in 0.08s, phase: 0 +[1] - Worker 22 (PID: 122) booted in 0.08s, phase: 0 +[1] - Worker 23 (PID: 128) booted in 0.07s, phase: 0 +[1] - Worker 24 (PID: 134) booted in 0.07s, phase: 0 +[1] - Worker 25 (PID: 140) booted in 0.07s, phase: 0 +[1] - Worker 26 (PID: 145) booted in 0.07s, phase: 0 +[1] - Worker 27 (PID: 150) booted in 0.07s, phase: 0 +[1] - Worker 28 (PID: 156) booted in 0.07s, phase: 0 +[1] - Worker 29 (PID: 164) booted in 0.07s, phase: 0 +[1] - Worker 30 (PID: 174) booted in 0.06s, phase: 0 +[1] - Worker 31 (PID: 179) booted in 0.06s, phase: 0 +[1] - Worker 32 (PID: 185) booted in 0.06s, phase: 0 +[1] - Worker 33 (PID: 191) booted in 0.06s, phase: 0 +[1] - Worker 34 (PID: 196) booted in 0.06s, phase: 0 +[1] - Worker 35 (PID: 200) booted in 0.06s, phase: 0 +[1] - Worker 36 (PID: 206) booted in 0.06s, phase: 0 +[1] - Worker 37 (PID: 213) booted in 0.05s, phase: 0 +[1] - Worker 38 (PID: 218) booted in 0.05s, phase: 0 +[1] - Worker 39 (PID: 224) booted in 0.05s, phase: 0 +[1] - Worker 40 (PID: 230) booted in 0.05s, phase: 0 +[1] - Worker 41 (PID: 235) booted in 0.05s, phase: 0 +[1] - Worker 42 (PID: 240) booted in 0.05s, phase: 0 +[1] - Worker 43 (PID: 246) booted in 0.05s, phase: 0 +[1] - Worker 44 (PID: 251) booted in 0.05s, phase: 0 +[1] - Worker 45 (PID: 255) booted in 0.04s, phase: 0 +[1] - Worker 46 (PID: 261) booted in 0.04s, phase: 0 +[1] - Worker 47 (PID: 267) booted in 0.04s, phase: 0 +[1] - Worker 48 (PID: 273) booted in 0.04s, phase: 0 +[1] - Worker 49 (PID: 279) booted in 0.04s, phase: 0 +[1] - Worker 50 (PID: 285) booted in 0.04s, phase: 0 +[1] - Worker 51 (PID: 293) booted in 0.04s, phase: 0 +[1] - Worker 52 (PID: 299) booted in 0.03s, phase: 0 +[1] - Worker 53 (PID: 303) booted in 0.03s, phase: 0 +[1] - Worker 54 (PID: 310) booted in 0.03s, phase: 0 +[1] - Worker 55 (PID: 316) booted in 0.03s, phase: 0 +[1] - Worker 56 (PID: 322) booted in 0.03s, phase: 0 +[1] - Worker 57 (PID: 328) booted in 0.03s, phase: 0 +[1] - Worker 58 (PID: 334) booted in 0.03s, phase: 0 +[1] - Worker 59 (PID: 339) booted in 0.03s, phase: 0 +[1] - Worker 60 (PID: 345) booted in 0.02s, phase: 0 +[1] - Worker 61 (PID: 351) booted in 0.02s, phase: 0 +[1] - Worker 62 (PID: 357) booted in 0.02s, phase: 0 +[1] - Worker 63 (PID: 363) booted in 0.02s, phase: 0 diff --git a/site/static/logs/pipelined/512/sinatra.log b/site/static/logs/pipelined/512/sinatra.log index da8c620ba..3c9188db7 100644 --- a/site/static/logs/pipelined/512/sinatra.log +++ b/site/static/logs/pipelined/512/sinatra.log @@ -1,6 +1,6 @@ [1] Puma starting in cluster mode... [1] * Puma version: 8.0.1 ("Into the Arena") -[1] * Ruby version: ruby 4.0.5 (2026-05-20 revision 64336ffd0e) +YJIT +MN +PRISM [x86_64-linux] +[1] * Ruby version: ruby 4.0.6 (2026-07-14 revision 03b6d3f889) +YJIT +MN +PRISM [x86_64-linux] [1] * Min threads: 3 [1] * Max threads: 3 [1] * Environment: production @@ -14,67 +14,67 @@ [1] ! WARNING: Detected `RUBY_MN_THREADS=1` [1] ! This setting is known to cause performance regressions with Puma. [1] ! Consider disabling this environment variable: https://github.com/puma/puma/issues/3720 -[1] - Worker 0 (PID: 9) booted in 0.11s, phase: 0 -[1] - Worker 1 (PID: 12) booted in 0.11s, phase: 0 -[1] - Worker 2 (PID: 15) booted in 0.11s, phase: 0 -[1] - Worker 3 (PID: 18) booted in 0.11s, phase: 0 -[1] - Worker 5 (PID: 27) booted in 0.1s, phase: 0 -[1] - Worker 4 (PID: 23) booted in 0.11s, phase: 0 -[1] - Worker 6 (PID: 31) booted in 0.1s, phase: 0 -[1] - Worker 7 (PID: 36) booted in 0.1s, phase: 0 -[1] - Worker 8 (PID: 40) booted in 0.1s, phase: 0 -[1] - Worker 9 (PID: 46) booted in 0.1s, phase: 0 -[1] - Worker 10 (PID: 50) booted in 0.1s, phase: 0 -[1] - Worker 11 (PID: 55) booted in 0.09s, phase: 0 -[1] - Worker 12 (PID: 59) booted in 0.09s, phase: 0 -[1] - Worker 13 (PID: 68) booted in 0.09s, phase: 0 -[1] - Worker 14 (PID: 74) booted in 0.09s, phase: 0 -[1] - Worker 15 (PID: 80) booted in 0.09s, phase: 0 -[1] - Worker 16 (PID: 84) booted in 0.09s, phase: 0 -[1] - Worker 17 (PID: 89) booted in 0.09s, phase: 0 -[1] - Worker 18 (PID: 94) booted in 0.09s, phase: 0 -[1] - Worker 19 (PID: 101) booted in 0.09s, phase: 0 -[1] - Worker 20 (PID: 107) booted in 0.09s, phase: 0 -[1] - Worker 21 (PID: 112) booted in 0.09s, phase: 0 -[1] - Worker 22 (PID: 115) booted in 0.1s, phase: 0 -[1] - Worker 23 (PID: 122) booted in 0.1s, phase: 0 -[1] - Worker 24 (PID: 128) booted in 0.1s, phase: 0 -[1] - Worker 25 (PID: 133) booted in 0.09s, phase: 0 -[1] - Worker 26 (PID: 139) booted in 0.09s, phase: 0 -[1] - Worker 27 (PID: 146) booted in 0.09s, phase: 0 -[1] - Worker 28 (PID: 151) booted in 0.09s, phase: 0 -[1] - Worker 29 (PID: 162) booted in 0.09s, phase: 0 -[1] - Worker 30 (PID: 172) booted in 0.08s, phase: 0 -[1] - Worker 31 (PID: 177) booted in 0.08s, phase: 0 -[1] - Worker 32 (PID: 182) booted in 0.08s, phase: 0 -[1] - Worker 33 (PID: 187) booted in 0.08s, phase: 0 -[1] - Worker 34 (PID: 196) booted in 0.08s, phase: 0 -[1] - Worker 35 (PID: 203) booted in 0.07s, phase: 0 -[1] - Worker 36 (PID: 209) booted in 0.07s, phase: 0 -[1] - Worker 37 (PID: 213) booted in 0.07s, phase: 0 -[1] - Worker 38 (PID: 218) booted in 0.07s, phase: 0 -[1] - Worker 39 (PID: 225) booted in 0.07s, phase: 0 -[1] - Worker 40 (PID: 229) booted in 0.07s, phase: 0 -[1] - Worker 41 (PID: 235) booted in 0.07s, phase: 0 -[1] - Worker 42 (PID: 239) booted in 0.07s, phase: 0 -[1] - Worker 43 (PID: 243) booted in 0.06s, phase: 0 -[1] - Worker 44 (PID: 248) booted in 0.06s, phase: 0 -[1] - Worker 45 (PID: 254) booted in 0.06s, phase: 0 -[1] - Worker 46 (PID: 261) booted in 0.06s, phase: 0 -[1] - Worker 47 (PID: 265) booted in 0.06s, phase: 0 -[1] - Worker 48 (PID: 271) booted in 0.06s, phase: 0 -[1] - Worker 49 (PID: 275) booted in 0.06s, phase: 0 -[1] - Worker 50 (PID: 282) booted in 0.05s, phase: 0 -[1] - Worker 51 (PID: 286) booted in 0.05s, phase: 0 -[1] - Worker 52 (PID: 292) booted in 0.05s, phase: 0 -[1] - Worker 53 (PID: 299) booted in 0.05s, phase: 0 -[1] - Worker 54 (PID: 303) booted in 0.05s, phase: 0 -[1] - Worker 55 (PID: 310) booted in 0.05s, phase: 0 -[1] - Worker 56 (PID: 316) booted in 0.05s, phase: 0 -[1] - Worker 57 (PID: 321) booted in 0.05s, phase: 0 -[1] - Worker 58 (PID: 328) booted in 0.04s, phase: 0 -[1] - Worker 59 (PID: 333) booted in 0.04s, phase: 0 -[1] - Worker 60 (PID: 340) booted in 0.04s, phase: 0 -[1] - Worker 61 (PID: 345) booted in 0.04s, phase: 0 -[1] - Worker 62 (PID: 351) booted in 0.04s, phase: 0 -[1] - Worker 63 (PID: 358) booted in 0.04s, phase: 0 +[1] - Worker 0 (PID: 9) booted in 0.1s, phase: 0 +[1] - Worker 1 (PID: 13) booted in 0.1s, phase: 0 +[1] - Worker 2 (PID: 17) booted in 0.1s, phase: 0 +[1] - Worker 3 (PID: 21) booted in 0.1s, phase: 0 +[1] - Worker 4 (PID: 25) booted in 0.09s, phase: 0 +[1] - Worker 5 (PID: 29) booted in 0.09s, phase: 0 +[1] - Worker 6 (PID: 33) booted in 0.09s, phase: 0 +[1] - Worker 7 (PID: 37) booted in 0.09s, phase: 0 +[1] - Worker 8 (PID: 42) booted in 0.09s, phase: 0 +[1] - Worker 9 (PID: 47) booted in 0.09s, phase: 0 +[1] - Worker 10 (PID: 52) booted in 0.09s, phase: 0 +[1] - Worker 11 (PID: 57) booted in 0.09s, phase: 0 +[1] - Worker 12 (PID: 62) booted in 0.08s, phase: 0 +[1] - Worker 13 (PID: 68) booted in 0.08s, phase: 0 +[1] - Worker 14 (PID: 76) booted in 0.08s, phase: 0 +[1] - Worker 15 (PID: 81) booted in 0.08s, phase: 0 +[1] - Worker 16 (PID: 88) booted in 0.08s, phase: 0 +[1] - Worker 17 (PID: 94) booted in 0.08s, phase: 0 +[1] - Worker 18 (PID: 99) booted in 0.08s, phase: 0 +[1] - Worker 19 (PID: 105) booted in 0.08s, phase: 0 +[1] - Worker 20 (PID: 109) booted in 0.07s, phase: 0 +[1] - Worker 21 (PID: 115) booted in 0.07s, phase: 0 +[1] - Worker 22 (PID: 122) booted in 0.07s, phase: 0 +[1] - Worker 23 (PID: 128) booted in 0.07s, phase: 0 +[1] - Worker 24 (PID: 133) booted in 0.07s, phase: 0 +[1] - Worker 25 (PID: 140) booted in 0.07s, phase: 0 +[1] - Worker 26 (PID: 145) booted in 0.07s, phase: 0 +[1] - Worker 27 (PID: 150) booted in 0.07s, phase: 0 +[1] - Worker 28 (PID: 156) booted in 0.07s, phase: 0 +[1] - Worker 29 (PID: 164) booted in 0.06s, phase: 0 +[1] - Worker 30 (PID: 174) booted in 0.06s, phase: 0 +[1] - Worker 31 (PID: 179) booted in 0.06s, phase: 0 +[1] - Worker 32 (PID: 184) booted in 0.06s, phase: 0 +[1] - Worker 33 (PID: 191) booted in 0.06s, phase: 0 +[1] - Worker 34 (PID: 196) booted in 0.06s, phase: 0 +[1] - Worker 35 (PID: 201) booted in 0.06s, phase: 0 +[1] - Worker 36 (PID: 206) booted in 0.05s, phase: 0 +[1] - Worker 37 (PID: 211) booted in 0.05s, phase: 0 +[1] - Worker 38 (PID: 217) booted in 0.05s, phase: 0 +[1] - Worker 39 (PID: 223) booted in 0.05s, phase: 0 +[1] - Worker 40 (PID: 229) booted in 0.05s, phase: 0 +[1] - Worker 41 (PID: 234) booted in 0.05s, phase: 0 +[1] - Worker 42 (PID: 239) booted in 0.05s, phase: 0 +[1] - Worker 43 (PID: 245) booted in 0.05s, phase: 0 +[1] - Worker 44 (PID: 250) booted in 0.04s, phase: 0 +[1] - Worker 45 (PID: 255) booted in 0.04s, phase: 0 +[1] - Worker 46 (PID: 261) booted in 0.04s, phase: 0 +[1] - Worker 47 (PID: 267) booted in 0.04s, phase: 0 +[1] - Worker 48 (PID: 273) booted in 0.04s, phase: 0 +[1] - Worker 49 (PID: 279) booted in 0.04s, phase: 0 +[1] - Worker 50 (PID: 284) booted in 0.04s, phase: 0 +[1] - Worker 51 (PID: 291) booted in 0.04s, phase: 0 +[1] - Worker 52 (PID: 297) booted in 0.03s, phase: 0 +[1] - Worker 53 (PID: 303) booted in 0.03s, phase: 0 +[1] - Worker 54 (PID: 308) booted in 0.03s, phase: 0 +[1] - Worker 55 (PID: 314) booted in 0.03s, phase: 0 +[1] - Worker 56 (PID: 320) booted in 0.03s, phase: 0 +[1] - Worker 57 (PID: 327) booted in 0.03s, phase: 0 +[1] - Worker 58 (PID: 332) booted in 0.03s, phase: 0 +[1] - Worker 59 (PID: 339) booted in 0.03s, phase: 0 +[1] - Worker 60 (PID: 345) booted in 0.02s, phase: 0 +[1] - Worker 61 (PID: 351) booted in 0.02s, phase: 0 +[1] - Worker 62 (PID: 357) booted in 0.02s, phase: 0 +[1] - Worker 63 (PID: 363) booted in 0.02s, phase: 0 diff --git a/site/static/logs/static-tls/1024/sinatra.log b/site/static/logs/static-tls/1024/sinatra.log index efdbb1e9b..6b06f9a46 100644 --- a/site/static/logs/static-tls/1024/sinatra.log +++ b/site/static/logs/static-tls/1024/sinatra.log @@ -19,62 +19,62 @@ [1] - Worker 2 (PID: 17) booted in 0.1s, phase: 0 [1] - Worker 3 (PID: 21) booted in 0.1s, phase: 0 [1] - Worker 4 (PID: 25) booted in 0.1s, phase: 0 -[1] - Worker 5 (PID: 29) booted in 0.09s, phase: 0 -[1] - Worker 6 (PID: 33) booted in 0.09s, phase: 0 +[1] - Worker 5 (PID: 29) booted in 0.1s, phase: 0 +[1] - Worker 6 (PID: 33) booted in 0.1s, phase: 0 [1] - Worker 7 (PID: 37) booted in 0.09s, phase: 0 [1] - Worker 8 (PID: 42) booted in 0.09s, phase: 0 [1] - Worker 9 (PID: 47) booted in 0.09s, phase: 0 [1] - Worker 10 (PID: 52) booted in 0.09s, phase: 0 [1] - Worker 11 (PID: 57) booted in 0.09s, phase: 0 -[1] - Worker 12 (PID: 61) booted in 0.08s, phase: 0 -[1] - Worker 13 (PID: 68) booted in 0.08s, phase: 0 -[1] - Worker 14 (PID: 76) booted in 0.08s, phase: 0 -[1] - Worker 15 (PID: 82) booted in 0.08s, phase: 0 -[1] - Worker 16 (PID: 88) booted in 0.08s, phase: 0 -[1] - Worker 17 (PID: 94) booted in 0.08s, phase: 0 -[1] - Worker 18 (PID: 100) booted in 0.08s, phase: 0 -[1] - Worker 19 (PID: 105) booted in 0.08s, phase: 0 -[1] - Worker 20 (PID: 110) booted in 0.08s, phase: 0 -[1] - Worker 21 (PID: 115) booted in 0.08s, phase: 0 -[1] - Worker 22 (PID: 120) booted in 0.08s, phase: 0 -[1] - Worker 23 (PID: 126) booted in 0.07s, phase: 0 -[1] - Worker 24 (PID: 133) booted in 0.07s, phase: 0 -[1] - Worker 25 (PID: 139) booted in 0.07s, phase: 0 +[1] - Worker 12 (PID: 63) booted in 0.08s, phase: 0 +[1] - Worker 13 (PID: 70) booted in 0.08s, phase: 0 +[1] - Worker 14 (PID: 78) booted in 0.08s, phase: 0 +[1] - Worker 15 (PID: 84) booted in 0.08s, phase: 0 +[1] - Worker 16 (PID: 90) booted in 0.08s, phase: 0 +[1] - Worker 17 (PID: 95) booted in 0.08s, phase: 0 +[1] - Worker 18 (PID: 101) booted in 0.08s, phase: 0 +[1] - Worker 19 (PID: 106) booted in 0.08s, phase: 0 +[1] - Worker 20 (PID: 112) booted in 0.08s, phase: 0 +[1] - Worker 21 (PID: 117) booted in 0.08s, phase: 0 +[1] - Worker 22 (PID: 123) booted in 0.08s, phase: 0 +[1] - Worker 23 (PID: 129) booted in 0.07s, phase: 0 +[1] - Worker 24 (PID: 134) booted in 0.07s, phase: 0 +[1] - Worker 25 (PID: 140) booted in 0.07s, phase: 0 [1] - Worker 26 (PID: 145) booted in 0.07s, phase: 0 [1] - Worker 27 (PID: 150) booted in 0.07s, phase: 0 [1] - Worker 28 (PID: 156) booted in 0.07s, phase: 0 -[1] - Worker 29 (PID: 163) booted in 0.07s, phase: 0 +[1] - Worker 29 (PID: 164) booted in 0.06s, phase: 0 [1] - Worker 30 (PID: 174) booted in 0.06s, phase: 0 -[1] - Worker 31 (PID: 178) booted in 0.06s, phase: 0 +[1] - Worker 31 (PID: 179) booted in 0.06s, phase: 0 [1] - Worker 32 (PID: 185) booted in 0.06s, phase: 0 -[1] - Worker 33 (PID: 190) booted in 0.06s, phase: 0 -[1] - Worker 34 (PID: 195) booted in 0.06s, phase: 0 -[1] - Worker 35 (PID: 200) booted in 0.06s, phase: 0 -[1] - Worker 36 (PID: 206) booted in 0.06s, phase: 0 -[1] - Worker 37 (PID: 211) booted in 0.05s, phase: 0 -[1] - Worker 38 (PID: 216) booted in 0.05s, phase: 0 -[1] - Worker 39 (PID: 222) booted in 0.05s, phase: 0 -[1] - Worker 40 (PID: 228) booted in 0.05s, phase: 0 +[1] - Worker 33 (PID: 191) booted in 0.06s, phase: 0 +[1] - Worker 34 (PID: 196) booted in 0.06s, phase: 0 +[1] - Worker 35 (PID: 201) booted in 0.06s, phase: 0 +[1] - Worker 36 (PID: 207) booted in 0.06s, phase: 0 +[1] - Worker 37 (PID: 212) booted in 0.05s, phase: 0 +[1] - Worker 38 (PID: 217) booted in 0.05s, phase: 0 +[1] - Worker 39 (PID: 223) booted in 0.05s, phase: 0 +[1] - Worker 40 (PID: 229) booted in 0.05s, phase: 0 [1] - Worker 41 (PID: 234) booted in 0.05s, phase: 0 [1] - Worker 42 (PID: 239) booted in 0.05s, phase: 0 -[1] - Worker 43 (PID: 244) booted in 0.05s, phase: 0 +[1] - Worker 43 (PID: 245) booted in 0.05s, phase: 0 [1] - Worker 44 (PID: 250) booted in 0.05s, phase: 0 -[1] - Worker 45 (PID: 255) booted in 0.05s, phase: 0 -[1] - Worker 46 (PID: 260) booted in 0.04s, phase: 0 -[1] - Worker 47 (PID: 266) booted in 0.04s, phase: 0 -[1] - Worker 48 (PID: 272) booted in 0.04s, phase: 0 -[1] - Worker 49 (PID: 278) booted in 0.04s, phase: 0 -[1] - Worker 50 (PID: 285) booted in 0.04s, phase: 0 +[1] - Worker 45 (PID: 255) booted in 0.04s, phase: 0 +[1] - Worker 46 (PID: 261) booted in 0.04s, phase: 0 +[1] - Worker 47 (PID: 267) booted in 0.04s, phase: 0 +[1] - Worker 48 (PID: 273) booted in 0.04s, phase: 0 +[1] - Worker 49 (PID: 279) booted in 0.04s, phase: 0 +[1] - Worker 50 (PID: 284) booted in 0.04s, phase: 0 [1] - Worker 51 (PID: 291) booted in 0.04s, phase: 0 [1] - Worker 52 (PID: 297) booted in 0.04s, phase: 0 -[1] - Worker 53 (PID: 303) booted in 0.04s, phase: 0 +[1] - Worker 53 (PID: 303) booted in 0.03s, phase: 0 [1] - Worker 54 (PID: 309) booted in 0.03s, phase: 0 -[1] - Worker 55 (PID: 315) booted in 0.03s, phase: 0 +[1] - Worker 55 (PID: 314) booted in 0.03s, phase: 0 [1] - Worker 56 (PID: 321) booted in 0.03s, phase: 0 [1] - Worker 57 (PID: 327) booted in 0.03s, phase: 0 -[1] - Worker 58 (PID: 332) booted in 0.03s, phase: 0 -[1] - Worker 59 (PID: 338) booted in 0.03s, phase: 0 +[1] - Worker 58 (PID: 333) booted in 0.03s, phase: 0 +[1] - Worker 59 (PID: 339) booted in 0.03s, phase: 0 [1] - Worker 60 (PID: 345) booted in 0.03s, phase: 0 -[1] - Worker 61 (PID: 351) booted in 0.03s, phase: 0 +[1] - Worker 61 (PID: 351) booted in 0.02s, phase: 0 [1] - Worker 62 (PID: 357) booted in 0.02s, phase: 0 -[1] - Worker 63 (PID: 362) booted in 0.02s, phase: 0 +[1] - Worker 63 (PID: 363) booted in 0.02s, phase: 0 diff --git a/site/static/logs/static-tls/4096/sinatra.log b/site/static/logs/static-tls/4096/sinatra.log index 1782ac918..79437c46d 100644 --- a/site/static/logs/static-tls/4096/sinatra.log +++ b/site/static/logs/static-tls/4096/sinatra.log @@ -19,24 +19,24 @@ [1] - Worker 2 (PID: 17) booted in 0.1s, phase: 0 [1] - Worker 3 (PID: 21) booted in 0.1s, phase: 0 [1] - Worker 4 (PID: 25) booted in 0.1s, phase: 0 -[1] - Worker 5 (PID: 29) booted in 0.09s, phase: 0 -[1] - Worker 6 (PID: 34) booted in 0.09s, phase: 0 -[1] - Worker 7 (PID: 38) booted in 0.09s, phase: 0 -[1] - Worker 8 (PID: 44) booted in 0.09s, phase: 0 -[1] - Worker 9 (PID: 48) booted in 0.09s, phase: 0 +[1] - Worker 5 (PID: 29) booted in 0.1s, phase: 0 +[1] - Worker 6 (PID: 33) booted in 0.09s, phase: 0 +[1] - Worker 7 (PID: 37) booted in 0.09s, phase: 0 +[1] - Worker 8 (PID: 42) booted in 0.09s, phase: 0 +[1] - Worker 9 (PID: 47) booted in 0.09s, phase: 0 [1] - Worker 10 (PID: 52) booted in 0.09s, phase: 0 [1] - Worker 11 (PID: 57) booted in 0.09s, phase: 0 [1] - Worker 12 (PID: 62) booted in 0.08s, phase: 0 -[1] - Worker 13 (PID: 70) booted in 0.08s, phase: 0 -[1] - Worker 14 (PID: 77) booted in 0.08s, phase: 0 +[1] - Worker 13 (PID: 69) booted in 0.08s, phase: 0 +[1] - Worker 14 (PID: 76) booted in 0.08s, phase: 0 [1] - Worker 15 (PID: 82) booted in 0.08s, phase: 0 [1] - Worker 16 (PID: 88) booted in 0.08s, phase: 0 [1] - Worker 17 (PID: 94) booted in 0.08s, phase: 0 [1] - Worker 18 (PID: 100) booted in 0.08s, phase: 0 [1] - Worker 19 (PID: 105) booted in 0.08s, phase: 0 -[1] - Worker 20 (PID: 110) booted in 0.08s, phase: 0 +[1] - Worker 20 (PID: 111) booted in 0.08s, phase: 0 [1] - Worker 21 (PID: 116) booted in 0.08s, phase: 0 -[1] - Worker 22 (PID: 122) booted in 0.07s, phase: 0 +[1] - Worker 22 (PID: 122) booted in 0.08s, phase: 0 [1] - Worker 23 (PID: 128) booted in 0.07s, phase: 0 [1] - Worker 24 (PID: 134) booted in 0.07s, phase: 0 [1] - Worker 25 (PID: 140) booted in 0.07s, phase: 0 @@ -46,22 +46,22 @@ [1] - Worker 29 (PID: 164) booted in 0.06s, phase: 0 [1] - Worker 30 (PID: 174) booted in 0.06s, phase: 0 [1] - Worker 31 (PID: 179) booted in 0.06s, phase: 0 -[1] - Worker 32 (PID: 184) booted in 0.06s, phase: 0 +[1] - Worker 32 (PID: 185) booted in 0.06s, phase: 0 [1] - Worker 33 (PID: 191) booted in 0.06s, phase: 0 [1] - Worker 34 (PID: 196) booted in 0.06s, phase: 0 -[1] - Worker 35 (PID: 200) booted in 0.06s, phase: 0 -[1] - Worker 36 (PID: 206) booted in 0.06s, phase: 0 +[1] - Worker 35 (PID: 201) booted in 0.06s, phase: 0 +[1] - Worker 36 (PID: 207) booted in 0.06s, phase: 0 [1] - Worker 37 (PID: 212) booted in 0.05s, phase: 0 [1] - Worker 38 (PID: 216) booted in 0.05s, phase: 0 [1] - Worker 39 (PID: 223) booted in 0.05s, phase: 0 [1] - Worker 40 (PID: 229) booted in 0.05s, phase: 0 [1] - Worker 41 (PID: 234) booted in 0.05s, phase: 0 [1] - Worker 42 (PID: 239) booted in 0.05s, phase: 0 -[1] - Worker 43 (PID: 245) booted in 0.05s, phase: 0 +[1] - Worker 43 (PID: 244) booted in 0.05s, phase: 0 [1] - Worker 44 (PID: 250) booted in 0.05s, phase: 0 [1] - Worker 45 (PID: 255) booted in 0.04s, phase: 0 [1] - Worker 46 (PID: 261) booted in 0.04s, phase: 0 -[1] - Worker 47 (PID: 266) booted in 0.04s, phase: 0 +[1] - Worker 47 (PID: 267) booted in 0.04s, phase: 0 [1] - Worker 48 (PID: 273) booted in 0.04s, phase: 0 [1] - Worker 49 (PID: 279) booted in 0.04s, phase: 0 [1] - Worker 50 (PID: 285) booted in 0.04s, phase: 0 @@ -70,11 +70,11 @@ [1] - Worker 53 (PID: 303) booted in 0.03s, phase: 0 [1] - Worker 54 (PID: 309) booted in 0.03s, phase: 0 [1] - Worker 55 (PID: 315) booted in 0.03s, phase: 0 -[1] - Worker 56 (PID: 320) booted in 0.03s, phase: 0 +[1] - Worker 56 (PID: 321) booted in 0.03s, phase: 0 [1] - Worker 57 (PID: 327) booted in 0.03s, phase: 0 [1] - Worker 58 (PID: 333) booted in 0.03s, phase: 0 [1] - Worker 59 (PID: 339) booted in 0.03s, phase: 0 -[1] - Worker 60 (PID: 344) booted in 0.03s, phase: 0 +[1] - Worker 60 (PID: 345) booted in 0.03s, phase: 0 [1] - Worker 61 (PID: 351) booted in 0.02s, phase: 0 [1] - Worker 62 (PID: 357) booted in 0.02s, phase: 0 [1] - Worker 63 (PID: 363) booted in 0.02s, phase: 0 diff --git a/site/static/logs/static-tls/6800/sinatra.log b/site/static/logs/static-tls/6800/sinatra.log index 56ae114e3..1155ec366 100644 --- a/site/static/logs/static-tls/6800/sinatra.log +++ b/site/static/logs/static-tls/6800/sinatra.log @@ -20,14 +20,14 @@ [1] - Worker 3 (PID: 21) booted in 0.1s, phase: 0 [1] - Worker 4 (PID: 25) booted in 0.1s, phase: 0 [1] - Worker 5 (PID: 29) booted in 0.1s, phase: 0 -[1] - Worker 6 (PID: 33) booted in 0.1s, phase: 0 +[1] - Worker 6 (PID: 33) booted in 0.09s, phase: 0 [1] - Worker 7 (PID: 37) booted in 0.09s, phase: 0 [1] - Worker 8 (PID: 42) booted in 0.09s, phase: 0 [1] - Worker 9 (PID: 47) booted in 0.09s, phase: 0 [1] - Worker 10 (PID: 52) booted in 0.09s, phase: 0 [1] - Worker 11 (PID: 57) booted in 0.09s, phase: 0 [1] - Worker 12 (PID: 62) booted in 0.09s, phase: 0 -[1] - Worker 13 (PID: 68) booted in 0.09s, phase: 0 +[1] - Worker 13 (PID: 68) booted in 0.08s, phase: 0 [1] - Worker 14 (PID: 76) booted in 0.08s, phase: 0 [1] - Worker 15 (PID: 82) booted in 0.08s, phase: 0 [1] - Worker 16 (PID: 88) booted in 0.08s, phase: 0 @@ -37,42 +37,42 @@ [1] - Worker 20 (PID: 110) booted in 0.08s, phase: 0 [1] - Worker 21 (PID: 116) booted in 0.08s, phase: 0 [1] - Worker 22 (PID: 122) booted in 0.08s, phase: 0 -[1] - Worker 23 (PID: 126) booted in 0.08s, phase: 0 -[1] - Worker 24 (PID: 132) booted in 0.07s, phase: 0 +[1] - Worker 23 (PID: 128) booted in 0.07s, phase: 0 +[1] - Worker 24 (PID: 134) booted in 0.07s, phase: 0 [1] - Worker 25 (PID: 140) booted in 0.07s, phase: 0 [1] - Worker 26 (PID: 145) booted in 0.07s, phase: 0 [1] - Worker 27 (PID: 150) booted in 0.07s, phase: 0 [1] - Worker 28 (PID: 156) booted in 0.07s, phase: 0 [1] - Worker 29 (PID: 164) booted in 0.07s, phase: 0 -[1] - Worker 30 (PID: 174) booted in 0.07s, phase: 0 +[1] - Worker 30 (PID: 174) booted in 0.06s, phase: 0 [1] - Worker 31 (PID: 179) booted in 0.06s, phase: 0 [1] - Worker 32 (PID: 185) booted in 0.06s, phase: 0 [1] - Worker 33 (PID: 191) booted in 0.06s, phase: 0 [1] - Worker 34 (PID: 196) booted in 0.06s, phase: 0 [1] - Worker 35 (PID: 201) booted in 0.06s, phase: 0 [1] - Worker 36 (PID: 207) booted in 0.06s, phase: 0 -[1] - Worker 37 (PID: 212) booted in 0.06s, phase: 0 -[1] - Worker 38 (PID: 217) booted in 0.06s, phase: 0 +[1] - Worker 37 (PID: 212) booted in 0.05s, phase: 0 +[1] - Worker 38 (PID: 217) booted in 0.05s, phase: 0 [1] - Worker 39 (PID: 223) booted in 0.05s, phase: 0 [1] - Worker 40 (PID: 229) booted in 0.05s, phase: 0 [1] - Worker 41 (PID: 234) booted in 0.05s, phase: 0 [1] - Worker 42 (PID: 239) booted in 0.05s, phase: 0 -[1] - Worker 43 (PID: 247) booted in 0.05s, phase: 0 -[1] - Worker 44 (PID: 253) booted in 0.05s, phase: 0 -[1] - Worker 45 (PID: 257) booted in 0.04s, phase: 0 -[1] - Worker 46 (PID: 264) booted in 0.04s, phase: 0 -[1] - Worker 47 (PID: 270) booted in 0.04s, phase: 0 -[1] - Worker 48 (PID: 275) booted in 0.04s, phase: 0 -[1] - Worker 49 (PID: 282) booted in 0.04s, phase: 0 -[1] - Worker 50 (PID: 287) booted in 0.04s, phase: 0 -[1] - Worker 51 (PID: 293) booted in 0.04s, phase: 0 -[1] - Worker 52 (PID: 298) booted in 0.04s, phase: 0 -[1] - Worker 53 (PID: 305) booted in 0.03s, phase: 0 -[1] - Worker 54 (PID: 310) booted in 0.03s, phase: 0 -[1] - Worker 55 (PID: 316) booted in 0.03s, phase: 0 -[1] - Worker 56 (PID: 322) booted in 0.03s, phase: 0 -[1] - Worker 57 (PID: 328) booted in 0.03s, phase: 0 -[1] - Worker 58 (PID: 334) booted in 0.03s, phase: 0 +[1] - Worker 43 (PID: 245) booted in 0.05s, phase: 0 +[1] - Worker 44 (PID: 250) booted in 0.05s, phase: 0 +[1] - Worker 45 (PID: 255) booted in 0.05s, phase: 0 +[1] - Worker 46 (PID: 261) booted in 0.04s, phase: 0 +[1] - Worker 47 (PID: 267) booted in 0.04s, phase: 0 +[1] - Worker 48 (PID: 273) booted in 0.04s, phase: 0 +[1] - Worker 49 (PID: 279) booted in 0.04s, phase: 0 +[1] - Worker 50 (PID: 285) booted in 0.04s, phase: 0 +[1] - Worker 51 (PID: 291) booted in 0.04s, phase: 0 +[1] - Worker 52 (PID: 297) booted in 0.04s, phase: 0 +[1] - Worker 53 (PID: 303) booted in 0.04s, phase: 0 +[1] - Worker 54 (PID: 309) booted in 0.03s, phase: 0 +[1] - Worker 55 (PID: 315) booted in 0.03s, phase: 0 +[1] - Worker 56 (PID: 321) booted in 0.03s, phase: 0 +[1] - Worker 57 (PID: 327) booted in 0.03s, phase: 0 +[1] - Worker 58 (PID: 333) booted in 0.03s, phase: 0 [1] - Worker 59 (PID: 339) booted in 0.03s, phase: 0 [1] - Worker 60 (PID: 345) booted in 0.03s, phase: 0 [1] - Worker 61 (PID: 351) booted in 0.02s, phase: 0 diff --git a/site/static/logs/static/1024/sinatra.log b/site/static/logs/static/1024/sinatra.log index 0814040e0..8b4a9fad0 100644 --- a/site/static/logs/static/1024/sinatra.log +++ b/site/static/logs/static/1024/sinatra.log @@ -1,6 +1,6 @@ [1] Puma starting in cluster mode... [1] * Puma version: 8.0.1 ("Into the Arena") -[1] * Ruby version: ruby 4.0.5 (2026-05-20 revision 64336ffd0e) +YJIT +MN +PRISM [x86_64-linux] +[1] * Ruby version: ruby 4.0.6 (2026-07-14 revision 03b6d3f889) +YJIT +MN +PRISM [x86_64-linux] [1] * Min threads: 3 [1] * Max threads: 3 [1] * Environment: production @@ -14,67 +14,67 @@ [1] ! WARNING: Detected `RUBY_MN_THREADS=1` [1] ! This setting is known to cause performance regressions with Puma. [1] ! Consider disabling this environment variable: https://github.com/puma/puma/issues/3720 -[1] - Worker 0 (PID: 9) booted in 0.11s, phase: 0 -[1] - Worker 1 (PID: 12) booted in 0.11s, phase: 0 -[1] - Worker 2 (PID: 15) booted in 0.1s, phase: 0 -[1] - Worker 3 (PID: 19) booted in 0.1s, phase: 0 -[1] - Worker 4 (PID: 23) booted in 0.1s, phase: 0 -[1] - Worker 5 (PID: 27) booted in 0.1s, phase: 0 -[1] - Worker 6 (PID: 31) booted in 0.1s, phase: 0 -[1] - Worker 7 (PID: 36) booted in 0.1s, phase: 0 -[1] - Worker 8 (PID: 41) booted in 0.09s, phase: 0 -[1] - Worker 9 (PID: 46) booted in 0.09s, phase: 0 -[1] - Worker 10 (PID: 50) booted in 0.09s, phase: 0 -[1] - Worker 11 (PID: 55) booted in 0.09s, phase: 0 -[1] - Worker 12 (PID: 61) booted in 0.09s, phase: 0 -[1] - Worker 13 (PID: 69) booted in 0.09s, phase: 0 -[1] - Worker 14 (PID: 75) booted in 0.09s, phase: 0 -[1] - Worker 15 (PID: 80) booted in 0.09s, phase: 0 -[1] - Worker 16 (PID: 85) booted in 0.09s, phase: 0 -[1] - Worker 17 (PID: 91) booted in 0.09s, phase: 0 -[1] - Worker 18 (PID: 96) booted in 0.09s, phase: 0 -[1] - Worker 19 (PID: 102) booted in 0.08s, phase: 0 -[1] - Worker 20 (PID: 107) booted in 0.09s, phase: 0 -[1] - Worker 21 (PID: 112) booted in 0.09s, phase: 0 -[1] - Worker 22 (PID: 118) booted in 0.09s, phase: 0 -[1] - Worker 23 (PID: 121) booted in 0.09s, phase: 0 -[1] - Worker 24 (PID: 127) booted in 0.09s, phase: 0 -[1] - Worker 25 (PID: 134) booted in 0.09s, phase: 0 -[1] - Worker 26 (PID: 139) booted in 0.09s, phase: 0 -[1] - Worker 27 (PID: 146) booted in 0.09s, phase: 0 -[1] - Worker 28 (PID: 151) booted in 0.09s, phase: 0 -[1] - Worker 29 (PID: 158) booted in 0.08s, phase: 0 -[1] - Worker 30 (PID: 170) booted in 0.08s, phase: 0 -[1] - Worker 31 (PID: 175) booted in 0.08s, phase: 0 -[1] - Worker 32 (PID: 180) booted in 0.08s, phase: 0 -[1] - Worker 33 (PID: 185) booted in 0.08s, phase: 0 -[1] - Worker 34 (PID: 190) booted in 0.08s, phase: 0 -[1] - Worker 35 (PID: 197) booted in 0.07s, phase: 0 -[1] - Worker 36 (PID: 203) booted in 0.07s, phase: 0 -[1] - Worker 37 (PID: 208) booted in 0.07s, phase: 0 -[1] - Worker 38 (PID: 213) booted in 0.07s, phase: 0 -[1] - Worker 39 (PID: 218) booted in 0.07s, phase: 0 -[1] - Worker 40 (PID: 223) booted in 0.07s, phase: 0 -[1] - Worker 41 (PID: 229) booted in 0.07s, phase: 0 -[1] - Worker 42 (PID: 235) booted in 0.07s, phase: 0 -[1] - Worker 43 (PID: 241) booted in 0.06s, phase: 0 -[1] - Worker 44 (PID: 248) booted in 0.06s, phase: 0 -[1] - Worker 45 (PID: 253) booted in 0.06s, phase: 0 -[1] - Worker 46 (PID: 257) booted in 0.06s, phase: 0 -[1] - Worker 47 (PID: 263) booted in 0.06s, phase: 0 -[1] - Worker 48 (PID: 270) booted in 0.06s, phase: 0 -[1] - Worker 49 (PID: 275) booted in 0.06s, phase: 0 -[1] - Worker 50 (PID: 281) booted in 0.05s, phase: 0 -[1] - Worker 51 (PID: 288) booted in 0.05s, phase: 0 -[1] - Worker 52 (PID: 293) booted in 0.05s, phase: 0 -[1] - Worker 53 (PID: 298) booted in 0.05s, phase: 0 -[1] - Worker 54 (PID: 304) booted in 0.05s, phase: 0 -[1] - Worker 55 (PID: 311) booted in 0.05s, phase: 0 -[1] - Worker 56 (PID: 318) booted in 0.05s, phase: 0 -[1] - Worker 57 (PID: 324) booted in 0.04s, phase: 0 -[1] - Worker 58 (PID: 330) booted in 0.04s, phase: 0 -[1] - Worker 59 (PID: 335) booted in 0.04s, phase: 0 -[1] - Worker 60 (PID: 341) booted in 0.04s, phase: 0 -[1] - Worker 61 (PID: 347) booted in 0.04s, phase: 0 -[1] - Worker 62 (PID: 352) booted in 0.04s, phase: 0 -[1] - Worker 63 (PID: 359) booted in 0.04s, phase: 0 +[1] - Worker 0 (PID: 9) booted in 0.1s, phase: 0 +[1] - Worker 1 (PID: 13) booted in 0.1s, phase: 0 +[1] - Worker 2 (PID: 17) booted in 0.1s, phase: 0 +[1] - Worker 3 (PID: 21) booted in 0.1s, phase: 0 +[1] - Worker 4 (PID: 25) booted in 0.1s, phase: 0 +[1] - Worker 5 (PID: 29) booted in 0.1s, phase: 0 +[1] - Worker 6 (PID: 33) booted in 0.09s, phase: 0 +[1] - Worker 7 (PID: 37) booted in 0.09s, phase: 0 +[1] - Worker 8 (PID: 42) booted in 0.09s, phase: 0 +[1] - Worker 9 (PID: 47) booted in 0.09s, phase: 0 +[1] - Worker 10 (PID: 52) booted in 0.09s, phase: 0 +[1] - Worker 11 (PID: 57) booted in 0.09s, phase: 0 +[1] - Worker 12 (PID: 62) booted in 0.08s, phase: 0 +[1] - Worker 13 (PID: 68) booted in 0.08s, phase: 0 +[1] - Worker 14 (PID: 76) booted in 0.08s, phase: 0 +[1] - Worker 15 (PID: 82) booted in 0.08s, phase: 0 +[1] - Worker 16 (PID: 88) booted in 0.08s, phase: 0 +[1] - Worker 17 (PID: 94) booted in 0.08s, phase: 0 +[1] - Worker 18 (PID: 100) booted in 0.08s, phase: 0 +[1] - Worker 19 (PID: 105) booted in 0.08s, phase: 0 +[1] - Worker 20 (PID: 110) booted in 0.08s, phase: 0 +[1] - Worker 21 (PID: 116) booted in 0.08s, phase: 0 +[1] - Worker 22 (PID: 122) booted in 0.08s, phase: 0 +[1] - Worker 23 (PID: 128) booted in 0.07s, phase: 0 +[1] - Worker 24 (PID: 134) booted in 0.07s, phase: 0 +[1] - Worker 25 (PID: 140) booted in 0.07s, phase: 0 +[1] - Worker 26 (PID: 145) booted in 0.07s, phase: 0 +[1] - Worker 27 (PID: 150) booted in 0.07s, phase: 0 +[1] - Worker 28 (PID: 156) booted in 0.07s, phase: 0 +[1] - Worker 29 (PID: 164) booted in 0.07s, phase: 0 +[1] - Worker 30 (PID: 174) booted in 0.06s, phase: 0 +[1] - Worker 31 (PID: 179) booted in 0.06s, phase: 0 +[1] - Worker 32 (PID: 185) booted in 0.06s, phase: 0 +[1] - Worker 33 (PID: 191) booted in 0.06s, phase: 0 +[1] - Worker 34 (PID: 196) booted in 0.06s, phase: 0 +[1] - Worker 35 (PID: 201) booted in 0.06s, phase: 0 +[1] - Worker 36 (PID: 207) booted in 0.06s, phase: 0 +[1] - Worker 37 (PID: 212) booted in 0.05s, phase: 0 +[1] - Worker 38 (PID: 217) booted in 0.05s, phase: 0 +[1] - Worker 39 (PID: 223) booted in 0.05s, phase: 0 +[1] - Worker 40 (PID: 229) booted in 0.05s, phase: 0 +[1] - Worker 41 (PID: 234) booted in 0.05s, phase: 0 +[1] - Worker 42 (PID: 239) booted in 0.05s, phase: 0 +[1] - Worker 43 (PID: 245) booted in 0.05s, phase: 0 +[1] - Worker 44 (PID: 250) booted in 0.05s, phase: 0 +[1] - Worker 45 (PID: 255) booted in 0.05s, phase: 0 +[1] - Worker 46 (PID: 261) booted in 0.04s, phase: 0 +[1] - Worker 47 (PID: 267) booted in 0.04s, phase: 0 +[1] - Worker 48 (PID: 273) booted in 0.04s, phase: 0 +[1] - Worker 49 (PID: 279) booted in 0.04s, phase: 0 +[1] - Worker 50 (PID: 285) booted in 0.04s, phase: 0 +[1] - Worker 51 (PID: 291) booted in 0.04s, phase: 0 +[1] - Worker 52 (PID: 297) booted in 0.04s, phase: 0 +[1] - Worker 53 (PID: 303) booted in 0.04s, phase: 0 +[1] - Worker 54 (PID: 309) booted in 0.03s, phase: 0 +[1] - Worker 55 (PID: 315) booted in 0.03s, phase: 0 +[1] - Worker 56 (PID: 321) booted in 0.03s, phase: 0 +[1] - Worker 57 (PID: 327) booted in 0.03s, phase: 0 +[1] - Worker 58 (PID: 333) booted in 0.03s, phase: 0 +[1] - Worker 59 (PID: 339) booted in 0.03s, phase: 0 +[1] - Worker 60 (PID: 345) booted in 0.03s, phase: 0 +[1] - Worker 61 (PID: 351) booted in 0.03s, phase: 0 +[1] - Worker 62 (PID: 357) booted in 0.02s, phase: 0 +[1] - Worker 63 (PID: 363) booted in 0.02s, phase: 0 diff --git a/site/static/logs/static/4096/sinatra.log b/site/static/logs/static/4096/sinatra.log index 818272564..490e0c88e 100644 --- a/site/static/logs/static/4096/sinatra.log +++ b/site/static/logs/static/4096/sinatra.log @@ -1,6 +1,6 @@ [1] Puma starting in cluster mode... [1] * Puma version: 8.0.1 ("Into the Arena") -[1] * Ruby version: ruby 4.0.5 (2026-05-20 revision 64336ffd0e) +YJIT +MN +PRISM [x86_64-linux] +[1] * Ruby version: ruby 4.0.6 (2026-07-14 revision 03b6d3f889) +YJIT +MN +PRISM [x86_64-linux] [1] * Min threads: 3 [1] * Max threads: 3 [1] * Environment: production @@ -14,67 +14,67 @@ [1] ! WARNING: Detected `RUBY_MN_THREADS=1` [1] ! This setting is known to cause performance regressions with Puma. [1] ! Consider disabling this environment variable: https://github.com/puma/puma/issues/3720 -[1] - Worker 0 (PID: 9) booted in 0.11s, phase: 0 -[1] - Worker 1 (PID: 12) booted in 0.11s, phase: 0 -[1] - Worker 2 (PID: 15) booted in 0.11s, phase: 0 -[1] - Worker 3 (PID: 19) booted in 0.1s, phase: 0 -[1] - Worker 4 (PID: 22) booted in 0.1s, phase: 0 -[1] - Worker 5 (PID: 27) booted in 0.1s, phase: 0 -[1] - Worker 6 (PID: 31) booted in 0.1s, phase: 0 -[1] - Worker 7 (PID: 36) booted in 0.1s, phase: 0 -[1] - Worker 8 (PID: 41) booted in 0.1s, phase: 0 -[1] - Worker 9 (PID: 46) booted in 0.09s, phase: 0 -[1] - Worker 10 (PID: 51) booted in 0.09s, phase: 0 -[1] - Worker 11 (PID: 55) booted in 0.09s, phase: 0 -[1] - Worker 12 (PID: 60) booted in 0.09s, phase: 0 -[1] - Worker 13 (PID: 69) booted in 0.09s, phase: 0 -[1] - Worker 14 (PID: 75) booted in 0.09s, phase: 0 -[1] - Worker 15 (PID: 80) booted in 0.09s, phase: 0 -[1] - Worker 16 (PID: 86) booted in 0.09s, phase: 0 -[1] - Worker 17 (PID: 91) booted in 0.09s, phase: 0 -[1] - Worker 18 (PID: 96) booted in 0.09s, phase: 0 -[1] - Worker 19 (PID: 103) booted in 0.09s, phase: 0 -[1] - Worker 20 (PID: 108) booted in 0.09s, phase: 0 -[1] - Worker 21 (PID: 112) booted in 0.09s, phase: 0 -[1] - Worker 22 (PID: 118) booted in 0.09s, phase: 0 -[1] - Worker 23 (PID: 123) booted in 0.09s, phase: 0 -[1] - Worker 24 (PID: 129) booted in 0.09s, phase: 0 -[1] - Worker 25 (PID: 134) booted in 0.09s, phase: 0 -[1] - Worker 26 (PID: 141) booted in 0.09s, phase: 0 -[1] - Worker 27 (PID: 146) booted in 0.09s, phase: 0 -[1] - Worker 28 (PID: 151) booted in 0.09s, phase: 0 -[1] - Worker 29 (PID: 159) booted in 0.08s, phase: 0 -[1] - Worker 30 (PID: 169) booted in 0.08s, phase: 0 -[1] - Worker 31 (PID: 175) booted in 0.08s, phase: 0 -[1] - Worker 32 (PID: 180) booted in 0.08s, phase: 0 -[1] - Worker 33 (PID: 185) booted in 0.08s, phase: 0 -[1] - Worker 34 (PID: 191) booted in 0.08s, phase: 0 -[1] - Worker 35 (PID: 197) booted in 0.08s, phase: 0 -[1] - Worker 36 (PID: 202) booted in 0.07s, phase: 0 -[1] - Worker 37 (PID: 207) booted in 0.07s, phase: 0 -[1] - Worker 38 (PID: 214) booted in 0.07s, phase: 0 -[1] - Worker 40 (PID: 224) booted in 0.07s, phase: 0 -[1] - Worker 39 (PID: 218) booted in 0.07s, phase: 0 -[1] - Worker 41 (PID: 229) booted in 0.07s, phase: 0 -[1] - Worker 42 (PID: 235) booted in 0.07s, phase: 0 -[1] - Worker 43 (PID: 241) booted in 0.07s, phase: 0 -[1] - Worker 44 (PID: 245) booted in 0.06s, phase: 0 -[1] - Worker 45 (PID: 252) booted in 0.06s, phase: 0 -[1] - Worker 46 (PID: 256) booted in 0.06s, phase: 0 -[1] - Worker 47 (PID: 263) booted in 0.06s, phase: 0 -[1] - Worker 48 (PID: 267) booted in 0.06s, phase: 0 -[1] - Worker 49 (PID: 273) booted in 0.06s, phase: 0 -[1] - Worker 50 (PID: 280) booted in 0.06s, phase: 0 -[1] - Worker 51 (PID: 286) booted in 0.06s, phase: 0 -[1] - Worker 52 (PID: 294) booted in 0.05s, phase: 0 -[1] - Worker 53 (PID: 303) booted in 0.05s, phase: 0 -[1] - Worker 54 (PID: 306) booted in 0.05s, phase: 0 -[1] - Worker 55 (PID: 312) booted in 0.05s, phase: 0 -[1] - Worker 56 (PID: 318) booted in 0.05s, phase: 0 -[1] - Worker 57 (PID: 323) booted in 0.05s, phase: 0 -[1] - Worker 58 (PID: 331) booted in 0.04s, phase: 0 -[1] - Worker 59 (PID: 335) booted in 0.04s, phase: 0 -[1] - Worker 60 (PID: 344) booted in 0.04s, phase: 0 -[1] - Worker 61 (PID: 348) booted in 0.04s, phase: 0 -[1] - Worker 62 (PID: 355) booted in 0.04s, phase: 0 -[1] - Worker 63 (PID: 361) booted in 0.04s, phase: 0 +[1] - Worker 0 (PID: 9) booted in 0.1s, phase: 0 +[1] - Worker 1 (PID: 13) booted in 0.1s, phase: 0 +[1] - Worker 2 (PID: 17) booted in 0.1s, phase: 0 +[1] - Worker 3 (PID: 21) booted in 0.1s, phase: 0 +[1] - Worker 4 (PID: 25) booted in 0.1s, phase: 0 +[1] - Worker 5 (PID: 29) booted in 0.1s, phase: 0 +[1] - Worker 6 (PID: 33) booted in 0.09s, phase: 0 +[1] - Worker 7 (PID: 37) booted in 0.09s, phase: 0 +[1] - Worker 8 (PID: 42) booted in 0.09s, phase: 0 +[1] - Worker 9 (PID: 48) booted in 0.09s, phase: 0 +[1] - Worker 10 (PID: 52) booted in 0.09s, phase: 0 +[1] - Worker 11 (PID: 57) booted in 0.09s, phase: 0 +[1] - Worker 12 (PID: 62) booted in 0.08s, phase: 0 +[1] - Worker 13 (PID: 69) booted in 0.08s, phase: 0 +[1] - Worker 14 (PID: 76) booted in 0.08s, phase: 0 +[1] - Worker 15 (PID: 82) booted in 0.08s, phase: 0 +[1] - Worker 16 (PID: 88) booted in 0.08s, phase: 0 +[1] - Worker 17 (PID: 94) booted in 0.08s, phase: 0 +[1] - Worker 18 (PID: 100) booted in 0.08s, phase: 0 +[1] - Worker 19 (PID: 105) booted in 0.08s, phase: 0 +[1] - Worker 20 (PID: 110) booted in 0.08s, phase: 0 +[1] - Worker 21 (PID: 116) booted in 0.08s, phase: 0 +[1] - Worker 22 (PID: 121) booted in 0.08s, phase: 0 +[1] - Worker 23 (PID: 127) booted in 0.07s, phase: 0 +[1] - Worker 24 (PID: 134) booted in 0.07s, phase: 0 +[1] - Worker 25 (PID: 138) booted in 0.07s, phase: 0 +[1] - Worker 26 (PID: 145) booted in 0.07s, phase: 0 +[1] - Worker 27 (PID: 150) booted in 0.07s, phase: 0 +[1] - Worker 28 (PID: 156) booted in 0.07s, phase: 0 +[1] - Worker 29 (PID: 164) booted in 0.07s, phase: 0 +[1] - Worker 30 (PID: 174) booted in 0.06s, phase: 0 +[1] - Worker 31 (PID: 179) booted in 0.06s, phase: 0 +[1] - Worker 32 (PID: 185) booted in 0.06s, phase: 0 +[1] - Worker 33 (PID: 191) booted in 0.06s, phase: 0 +[1] - Worker 34 (PID: 196) booted in 0.06s, phase: 0 +[1] - Worker 35 (PID: 201) booted in 0.06s, phase: 0 +[1] - Worker 36 (PID: 207) booted in 0.06s, phase: 0 +[1] - Worker 37 (PID: 212) booted in 0.06s, phase: 0 +[1] - Worker 38 (PID: 217) booted in 0.05s, phase: 0 +[1] - Worker 39 (PID: 223) booted in 0.05s, phase: 0 +[1] - Worker 40 (PID: 229) booted in 0.05s, phase: 0 +[1] - Worker 41 (PID: 234) booted in 0.05s, phase: 0 +[1] - Worker 42 (PID: 239) booted in 0.05s, phase: 0 +[1] - Worker 43 (PID: 245) booted in 0.05s, phase: 0 +[1] - Worker 44 (PID: 250) booted in 0.05s, phase: 0 +[1] - Worker 45 (PID: 255) booted in 0.05s, phase: 0 +[1] - Worker 46 (PID: 261) booted in 0.04s, phase: 0 +[1] - Worker 47 (PID: 267) booted in 0.04s, phase: 0 +[1] - Worker 48 (PID: 273) booted in 0.04s, phase: 0 +[1] - Worker 49 (PID: 278) booted in 0.04s, phase: 0 +[1] - Worker 50 (PID: 285) booted in 0.04s, phase: 0 +[1] - Worker 51 (PID: 291) booted in 0.04s, phase: 0 +[1] - Worker 52 (PID: 297) booted in 0.04s, phase: 0 +[1] - Worker 53 (PID: 303) booted in 0.04s, phase: 0 +[1] - Worker 54 (PID: 309) booted in 0.03s, phase: 0 +[1] - Worker 55 (PID: 315) booted in 0.03s, phase: 0 +[1] - Worker 56 (PID: 321) booted in 0.03s, phase: 0 +[1] - Worker 57 (PID: 327) booted in 0.03s, phase: 0 +[1] - Worker 58 (PID: 333) booted in 0.03s, phase: 0 +[1] - Worker 59 (PID: 339) booted in 0.03s, phase: 0 +[1] - Worker 60 (PID: 345) booted in 0.03s, phase: 0 +[1] - Worker 61 (PID: 350) booted in 0.03s, phase: 0 +[1] - Worker 62 (PID: 357) booted in 0.02s, phase: 0 +[1] - Worker 63 (PID: 365) booted in 0.02s, phase: 0 diff --git a/site/static/logs/static/6800/sinatra.log b/site/static/logs/static/6800/sinatra.log index db3d3207d..e75c7bf1c 100644 --- a/site/static/logs/static/6800/sinatra.log +++ b/site/static/logs/static/6800/sinatra.log @@ -1,6 +1,6 @@ [1] Puma starting in cluster mode... [1] * Puma version: 8.0.1 ("Into the Arena") -[1] * Ruby version: ruby 4.0.5 (2026-05-20 revision 64336ffd0e) +YJIT +MN +PRISM [x86_64-linux] +[1] * Ruby version: ruby 4.0.6 (2026-07-14 revision 03b6d3f889) +YJIT +MN +PRISM [x86_64-linux] [1] * Min threads: 3 [1] * Max threads: 3 [1] * Environment: production @@ -14,67 +14,67 @@ [1] ! WARNING: Detected `RUBY_MN_THREADS=1` [1] ! This setting is known to cause performance regressions with Puma. [1] ! Consider disabling this environment variable: https://github.com/puma/puma/issues/3720 -[1] - Worker 0 (PID: 9) booted in 0.11s, phase: 0 -[1] - Worker 1 (PID: 12) booted in 0.11s, phase: 0 -[1] - Worker 2 (PID: 15) booted in 0.11s, phase: 0 -[1] - Worker 3 (PID: 19) booted in 0.1s, phase: 0 -[1] - Worker 4 (PID: 23) booted in 0.1s, phase: 0 -[1] - Worker 5 (PID: 27) booted in 0.1s, phase: 0 -[1] - Worker 6 (PID: 31) booted in 0.1s, phase: 0 -[1] - Worker 7 (PID: 35) booted in 0.1s, phase: 0 -[1] - Worker 8 (PID: 39) booted in 0.1s, phase: 0 -[1] - Worker 9 (PID: 43) booted in 0.1s, phase: 0 -[1] - Worker 10 (PID: 48) booted in 0.1s, phase: 0 -[1] - Worker 11 (PID: 53) booted in 0.09s, phase: 0 -[1] - Worker 12 (PID: 58) booted in 0.09s, phase: 0 -[1] - Worker 13 (PID: 67) booted in 0.09s, phase: 0 -[1] - Worker 14 (PID: 71) booted in 0.09s, phase: 0 -[1] - Worker 15 (PID: 77) booted in 0.09s, phase: 0 -[1] - Worker 16 (PID: 82) booted in 0.09s, phase: 0 -[1] - Worker 17 (PID: 88) booted in 0.09s, phase: 0 -[1] - Worker 18 (PID: 94) booted in 0.09s, phase: 0 -[1] - Worker 20 (PID: 106) booted in 0.09s, phase: 0 -[1] - Worker 19 (PID: 100) booted in 0.09s, phase: 0 -[1] - Worker 21 (PID: 111) booted in 0.09s, phase: 0 -[1] - Worker 22 (PID: 116) booted in 0.1s, phase: 0 -[1] - Worker 23 (PID: 122) booted in 0.1s, phase: 0 -[1] - Worker 24 (PID: 128) booted in 0.1s, phase: 0 -[1] - Worker 25 (PID: 134) booted in 0.09s, phase: 0 -[1] - Worker 26 (PID: 140) booted in 0.09s, phase: 0 -[1] - Worker 27 (PID: 146) booted in 0.09s, phase: 0 -[1] - Worker 28 (PID: 151) booted in 0.09s, phase: 0 -[1] - Worker 29 (PID: 162) booted in 0.09s, phase: 0 -[1] - Worker 30 (PID: 171) booted in 0.08s, phase: 0 -[1] - Worker 31 (PID: 177) booted in 0.08s, phase: 0 -[1] - Worker 32 (PID: 181) booted in 0.08s, phase: 0 -[1] - Worker 33 (PID: 187) booted in 0.08s, phase: 0 -[1] - Worker 34 (PID: 193) booted in 0.08s, phase: 0 -[1] - Worker 35 (PID: 198) booted in 0.08s, phase: 0 -[1] - Worker 36 (PID: 203) booted in 0.08s, phase: 0 -[1] - Worker 37 (PID: 208) booted in 0.08s, phase: 0 -[1] - Worker 38 (PID: 214) booted in 0.07s, phase: 0 -[1] - Worker 39 (PID: 219) booted in 0.07s, phase: 0 -[1] - Worker 40 (PID: 224) booted in 0.07s, phase: 0 -[1] - Worker 41 (PID: 231) booted in 0.07s, phase: 0 -[1] - Worker 42 (PID: 236) booted in 0.07s, phase: 0 -[1] - Worker 43 (PID: 240) booted in 0.07s, phase: 0 -[1] - Worker 45 (PID: 253) booted in 0.07s, phase: 0 -[1] - Worker 44 (PID: 245) booted in 0.07s, phase: 0 -[1] - Worker 46 (PID: 257) booted in 0.06s, phase: 0 -[1] - Worker 47 (PID: 266) booted in 0.06s, phase: 0 -[1] - Worker 48 (PID: 270) booted in 0.06s, phase: 0 -[1] - Worker 49 (PID: 276) booted in 0.06s, phase: 0 -[1] - Worker 50 (PID: 281) booted in 0.06s, phase: 0 -[1] - Worker 51 (PID: 290) booted in 0.06s, phase: 0 -[1] - Worker 52 (PID: 295) booted in 0.06s, phase: 0 -[1] - Worker 53 (PID: 301) booted in 0.05s, phase: 0 -[1] - Worker 54 (PID: 307) booted in 0.05s, phase: 0 -[1] - Worker 55 (PID: 311) booted in 0.05s, phase: 0 -[1] - Worker 56 (PID: 318) booted in 0.05s, phase: 0 -[1] - Worker 57 (PID: 328) booted in 0.05s, phase: 0 -[1] - Worker 58 (PID: 333) booted in 0.05s, phase: 0 -[1] - Worker 59 (PID: 338) booted in 0.04s, phase: 0 -[1] - Worker 60 (PID: 343) booted in 0.04s, phase: 0 -[1] - Worker 61 (PID: 348) booted in 0.04s, phase: 0 -[1] - Worker 62 (PID: 355) booted in 0.04s, phase: 0 -[1] - Worker 63 (PID: 363) booted in 0.04s, phase: 0 +[1] - Worker 0 (PID: 9) booted in 0.1s, phase: 0 +[1] - Worker 1 (PID: 13) booted in 0.1s, phase: 0 +[1] - Worker 2 (PID: 17) booted in 0.1s, phase: 0 +[1] - Worker 3 (PID: 21) booted in 0.1s, phase: 0 +[1] - Worker 4 (PID: 25) booted in 0.1s, phase: 0 +[1] - Worker 5 (PID: 29) booted in 0.1s, phase: 0 +[1] - Worker 6 (PID: 33) booted in 0.09s, phase: 0 +[1] - Worker 7 (PID: 37) booted in 0.09s, phase: 0 +[1] - Worker 8 (PID: 42) booted in 0.09s, phase: 0 +[1] - Worker 9 (PID: 47) booted in 0.09s, phase: 0 +[1] - Worker 10 (PID: 52) booted in 0.09s, phase: 0 +[1] - Worker 11 (PID: 57) booted in 0.09s, phase: 0 +[1] - Worker 12 (PID: 62) booted in 0.08s, phase: 0 +[1] - Worker 13 (PID: 68) booted in 0.08s, phase: 0 +[1] - Worker 14 (PID: 76) booted in 0.08s, phase: 0 +[1] - Worker 15 (PID: 82) booted in 0.08s, phase: 0 +[1] - Worker 16 (PID: 88) booted in 0.08s, phase: 0 +[1] - Worker 17 (PID: 94) booted in 0.08s, phase: 0 +[1] - Worker 18 (PID: 100) booted in 0.08s, phase: 0 +[1] - Worker 19 (PID: 105) booted in 0.08s, phase: 0 +[1] - Worker 20 (PID: 110) booted in 0.08s, phase: 0 +[1] - Worker 21 (PID: 116) booted in 0.08s, phase: 0 +[1] - Worker 22 (PID: 122) booted in 0.08s, phase: 0 +[1] - Worker 23 (PID: 128) booted in 0.07s, phase: 0 +[1] - Worker 24 (PID: 134) booted in 0.07s, phase: 0 +[1] - Worker 25 (PID: 140) booted in 0.07s, phase: 0 +[1] - Worker 26 (PID: 145) booted in 0.07s, phase: 0 +[1] - Worker 27 (PID: 150) booted in 0.07s, phase: 0 +[1] - Worker 28 (PID: 156) booted in 0.07s, phase: 0 +[1] - Worker 29 (PID: 164) booted in 0.07s, phase: 0 +[1] - Worker 30 (PID: 174) booted in 0.06s, phase: 0 +[1] - Worker 31 (PID: 179) booted in 0.06s, phase: 0 +[1] - Worker 32 (PID: 185) booted in 0.06s, phase: 0 +[1] - Worker 33 (PID: 191) booted in 0.06s, phase: 0 +[1] - Worker 34 (PID: 196) booted in 0.06s, phase: 0 +[1] - Worker 35 (PID: 201) booted in 0.06s, phase: 0 +[1] - Worker 36 (PID: 207) booted in 0.06s, phase: 0 +[1] - Worker 37 (PID: 212) booted in 0.05s, phase: 0 +[1] - Worker 38 (PID: 217) booted in 0.05s, phase: 0 +[1] - Worker 39 (PID: 223) booted in 0.05s, phase: 0 +[1] - Worker 40 (PID: 229) booted in 0.05s, phase: 0 +[1] - Worker 41 (PID: 234) booted in 0.05s, phase: 0 +[1] - Worker 42 (PID: 239) booted in 0.05s, phase: 0 +[1] - Worker 43 (PID: 245) booted in 0.05s, phase: 0 +[1] - Worker 44 (PID: 250) booted in 0.05s, phase: 0 +[1] - Worker 45 (PID: 255) booted in 0.05s, phase: 0 +[1] - Worker 46 (PID: 261) booted in 0.04s, phase: 0 +[1] - Worker 47 (PID: 267) booted in 0.04s, phase: 0 +[1] - Worker 48 (PID: 273) booted in 0.04s, phase: 0 +[1] - Worker 49 (PID: 279) booted in 0.04s, phase: 0 +[1] - Worker 50 (PID: 285) booted in 0.04s, phase: 0 +[1] - Worker 51 (PID: 291) booted in 0.04s, phase: 0 +[1] - Worker 52 (PID: 297) booted in 0.04s, phase: 0 +[1] - Worker 53 (PID: 303) booted in 0.03s, phase: 0 +[1] - Worker 54 (PID: 309) booted in 0.03s, phase: 0 +[1] - Worker 55 (PID: 315) booted in 0.03s, phase: 0 +[1] - Worker 56 (PID: 321) booted in 0.03s, phase: 0 +[1] - Worker 57 (PID: 327) booted in 0.03s, phase: 0 +[1] - Worker 58 (PID: 333) booted in 0.03s, phase: 0 +[1] - Worker 59 (PID: 339) booted in 0.03s, phase: 0 +[1] - Worker 60 (PID: 345) booted in 0.03s, phase: 0 +[1] - Worker 61 (PID: 351) booted in 0.02s, phase: 0 +[1] - Worker 62 (PID: 357) booted in 0.02s, phase: 0 +[1] - Worker 63 (PID: 363) booted in 0.02s, phase: 0 diff --git a/site/static/logs/upload/256/sinatra.log b/site/static/logs/upload/256/sinatra.log index 16c7ab746..0372f5c1f 100644 --- a/site/static/logs/upload/256/sinatra.log +++ b/site/static/logs/upload/256/sinatra.log @@ -1,6 +1,6 @@ [1] Puma starting in cluster mode... [1] * Puma version: 8.0.1 ("Into the Arena") -[1] * Ruby version: ruby 4.0.5 (2026-05-20 revision 64336ffd0e) +YJIT +MN +PRISM [x86_64-linux] +[1] * Ruby version: ruby 4.0.6 (2026-07-14 revision 03b6d3f889) +YJIT +MN +PRISM [x86_64-linux] [1] * Min threads: 3 [1] * Max threads: 3 [1] * Environment: production @@ -14,67 +14,67 @@ [1] ! WARNING: Detected `RUBY_MN_THREADS=1` [1] ! This setting is known to cause performance regressions with Puma. [1] ! Consider disabling this environment variable: https://github.com/puma/puma/issues/3720 -[1] - Worker 0 (PID: 9) booted in 0.11s, phase: 0 -[1] - Worker 1 (PID: 12) booted in 0.11s, phase: 0 -[1] - Worker 2 (PID: 15) booted in 0.11s, phase: 0 -[1] - Worker 3 (PID: 19) booted in 0.11s, phase: 0 -[1] - Worker 4 (PID: 22) booted in 0.1s, phase: 0 -[1] - Worker 5 (PID: 27) booted in 0.1s, phase: 0 -[1] - Worker 6 (PID: 31) booted in 0.1s, phase: 0 -[1] - Worker 7 (PID: 35) booted in 0.1s, phase: 0 -[1] - Worker 8 (PID: 39) booted in 0.1s, phase: 0 -[1] - Worker 9 (PID: 43) booted in 0.1s, phase: 0 -[1] - Worker 10 (PID: 48) booted in 0.1s, phase: 0 -[1] - Worker 11 (PID: 53) booted in 0.1s, phase: 0 -[1] - Worker 12 (PID: 59) booted in 0.09s, phase: 0 -[1] - Worker 13 (PID: 67) booted in 0.09s, phase: 0 -[1] - Worker 14 (PID: 71) booted in 0.09s, phase: 0 -[1] - Worker 15 (PID: 77) booted in 0.09s, phase: 0 -[1] - Worker 16 (PID: 84) booted in 0.09s, phase: 0 -[1] - Worker 17 (PID: 90) booted in 0.09s, phase: 0 -[1] - Worker 18 (PID: 95) booted in 0.09s, phase: 0 -[1] - Worker 19 (PID: 102) booted in 0.09s, phase: 0 -[1] - Worker 20 (PID: 107) booted in 0.09s, phase: 0 -[1] - Worker 21 (PID: 110) booted in 0.09s, phase: 0 -[1] - Worker 22 (PID: 117) booted in 0.1s, phase: 0 -[1] - Worker 23 (PID: 122) booted in 0.1s, phase: 0 -[1] - Worker 24 (PID: 129) booted in 0.1s, phase: 0 -[1] - Worker 25 (PID: 134) booted in 0.09s, phase: 0 -[1] - Worker 26 (PID: 141) booted in 0.09s, phase: 0 -[1] - Worker 27 (PID: 146) booted in 0.09s, phase: 0 -[1] - Worker 28 (PID: 150) booted in 0.09s, phase: 0 -[1] - Worker 29 (PID: 160) booted in 0.09s, phase: 0 -[1] - Worker 30 (PID: 172) booted in 0.08s, phase: 0 -[1] - Worker 31 (PID: 176) booted in 0.08s, phase: 0 -[1] - Worker 32 (PID: 182) booted in 0.08s, phase: 0 -[1] - Worker 33 (PID: 187) booted in 0.08s, phase: 0 -[1] - Worker 34 (PID: 193) booted in 0.08s, phase: 0 -[1] - Worker 35 (PID: 198) booted in 0.08s, phase: 0 -[1] - Worker 36 (PID: 203) booted in 0.08s, phase: 0 -[1] - Worker 37 (PID: 208) booted in 0.08s, phase: 0 -[1] - Worker 38 (PID: 215) booted in 0.07s, phase: 0 -[1] - Worker 39 (PID: 220) booted in 0.07s, phase: 0 -[1] - Worker 40 (PID: 225) booted in 0.07s, phase: 0 -[1] - Worker 41 (PID: 231) booted in 0.07s, phase: 0 -[1] - Worker 42 (PID: 236) booted in 0.07s, phase: 0 -[1] - Worker 43 (PID: 242) booted in 0.07s, phase: 0 -[1] - Worker 44 (PID: 246) booted in 0.07s, phase: 0 -[1] - Worker 45 (PID: 252) booted in 0.07s, phase: 0 -[1] - Worker 46 (PID: 257) booted in 0.06s, phase: 0 -[1] - Worker 47 (PID: 262) booted in 0.06s, phase: 0 -[1] - Worker 48 (PID: 270) booted in 0.06s, phase: 0 -[1] - Worker 49 (PID: 276) booted in 0.06s, phase: 0 -[1] - Worker 50 (PID: 281) booted in 0.06s, phase: 0 -[1] - Worker 51 (PID: 287) booted in 0.06s, phase: 0 -[1] - Worker 52 (PID: 293) booted in 0.06s, phase: 0 -[1] - Worker 53 (PID: 300) booted in 0.05s, phase: 0 -[1] - Worker 54 (PID: 305) booted in 0.05s, phase: 0 -[1] - Worker 55 (PID: 311) booted in 0.05s, phase: 0 -[1] - Worker 56 (PID: 317) booted in 0.05s, phase: 0 -[1] - Worker 57 (PID: 323) booted in 0.05s, phase: 0 -[1] - Worker 58 (PID: 331) booted in 0.05s, phase: 0 -[1] - Worker 59 (PID: 337) booted in 0.04s, phase: 0 -[1] - Worker 60 (PID: 345) booted in 0.04s, phase: 0 -[1] - Worker 61 (PID: 351) booted in 0.04s, phase: 0 -[1] - Worker 62 (PID: 358) booted in 0.04s, phase: 0 -[1] - Worker 63 (PID: 364) booted in 0.04s, phase: 0 +[1] - Worker 0 (PID: 9) booted in 0.1s, phase: 0 +[1] - Worker 1 (PID: 13) booted in 0.1s, phase: 0 +[1] - Worker 2 (PID: 17) booted in 0.1s, phase: 0 +[1] - Worker 3 (PID: 21) booted in 0.1s, phase: 0 +[1] - Worker 4 (PID: 25) booted in 0.1s, phase: 0 +[1] - Worker 5 (PID: 29) booted in 0.1s, phase: 0 +[1] - Worker 6 (PID: 33) booted in 0.09s, phase: 0 +[1] - Worker 7 (PID: 37) booted in 0.09s, phase: 0 +[1] - Worker 8 (PID: 42) booted in 0.09s, phase: 0 +[1] - Worker 9 (PID: 47) booted in 0.09s, phase: 0 +[1] - Worker 10 (PID: 52) booted in 0.09s, phase: 0 +[1] - Worker 11 (PID: 57) booted in 0.09s, phase: 0 +[1] - Worker 12 (PID: 62) booted in 0.09s, phase: 0 +[1] - Worker 13 (PID: 70) booted in 0.08s, phase: 0 +[1] - Worker 14 (PID: 76) booted in 0.08s, phase: 0 +[1] - Worker 15 (PID: 82) booted in 0.08s, phase: 0 +[1] - Worker 16 (PID: 88) booted in 0.08s, phase: 0 +[1] - Worker 17 (PID: 94) booted in 0.08s, phase: 0 +[1] - Worker 18 (PID: 100) booted in 0.08s, phase: 0 +[1] - Worker 19 (PID: 105) booted in 0.08s, phase: 0 +[1] - Worker 20 (PID: 111) booted in 0.08s, phase: 0 +[1] - Worker 21 (PID: 116) booted in 0.08s, phase: 0 +[1] - Worker 22 (PID: 122) booted in 0.08s, phase: 0 +[1] - Worker 23 (PID: 128) booted in 0.07s, phase: 0 +[1] - Worker 24 (PID: 134) booted in 0.07s, phase: 0 +[1] - Worker 25 (PID: 140) booted in 0.07s, phase: 0 +[1] - Worker 26 (PID: 145) booted in 0.07s, phase: 0 +[1] - Worker 27 (PID: 150) booted in 0.07s, phase: 0 +[1] - Worker 28 (PID: 156) booted in 0.07s, phase: 0 +[1] - Worker 29 (PID: 164) booted in 0.07s, phase: 0 +[1] - Worker 30 (PID: 174) booted in 0.06s, phase: 0 +[1] - Worker 31 (PID: 179) booted in 0.06s, phase: 0 +[1] - Worker 32 (PID: 185) booted in 0.06s, phase: 0 +[1] - Worker 33 (PID: 191) booted in 0.06s, phase: 0 +[1] - Worker 34 (PID: 196) booted in 0.06s, phase: 0 +[1] - Worker 35 (PID: 201) booted in 0.06s, phase: 0 +[1] - Worker 36 (PID: 207) booted in 0.06s, phase: 0 +[1] - Worker 37 (PID: 212) booted in 0.05s, phase: 0 +[1] - Worker 38 (PID: 217) booted in 0.05s, phase: 0 +[1] - Worker 39 (PID: 223) booted in 0.05s, phase: 0 +[1] - Worker 40 (PID: 229) booted in 0.05s, phase: 0 +[1] - Worker 41 (PID: 234) booted in 0.05s, phase: 0 +[1] - Worker 42 (PID: 239) booted in 0.05s, phase: 0 +[1] - Worker 43 (PID: 245) booted in 0.05s, phase: 0 +[1] - Worker 44 (PID: 250) booted in 0.05s, phase: 0 +[1] - Worker 45 (PID: 255) booted in 0.05s, phase: 0 +[1] - Worker 46 (PID: 261) booted in 0.04s, phase: 0 +[1] - Worker 47 (PID: 267) booted in 0.04s, phase: 0 +[1] - Worker 48 (PID: 273) booted in 0.04s, phase: 0 +[1] - Worker 49 (PID: 279) booted in 0.04s, phase: 0 +[1] - Worker 50 (PID: 285) booted in 0.04s, phase: 0 +[1] - Worker 51 (PID: 291) booted in 0.04s, phase: 0 +[1] - Worker 52 (PID: 297) booted in 0.04s, phase: 0 +[1] - Worker 53 (PID: 303) booted in 0.04s, phase: 0 +[1] - Worker 54 (PID: 309) booted in 0.03s, phase: 0 +[1] - Worker 55 (PID: 315) booted in 0.03s, phase: 0 +[1] - Worker 56 (PID: 321) booted in 0.03s, phase: 0 +[1] - Worker 57 (PID: 327) booted in 0.03s, phase: 0 +[1] - Worker 58 (PID: 333) booted in 0.03s, phase: 0 +[1] - Worker 59 (PID: 339) booted in 0.03s, phase: 0 +[1] - Worker 60 (PID: 347) booted in 0.03s, phase: 0 +[1] - Worker 61 (PID: 352) booted in 0.02s, phase: 0 +[1] - Worker 62 (PID: 358) booted in 0.02s, phase: 0 +[1] - Worker 63 (PID: 364) booted in 0.02s, phase: 0 diff --git a/site/static/logs/upload/32/sinatra.log b/site/static/logs/upload/32/sinatra.log index b3af99ca5..834d5aafb 100644 --- a/site/static/logs/upload/32/sinatra.log +++ b/site/static/logs/upload/32/sinatra.log @@ -1,6 +1,6 @@ [1] Puma starting in cluster mode... [1] * Puma version: 8.0.1 ("Into the Arena") -[1] * Ruby version: ruby 4.0.5 (2026-05-20 revision 64336ffd0e) +YJIT +MN +PRISM [x86_64-linux] +[1] * Ruby version: ruby 4.0.6 (2026-07-14 revision 03b6d3f889) +YJIT +MN +PRISM [x86_64-linux] [1] * Min threads: 3 [1] * Max threads: 3 [1] * Environment: production @@ -14,67 +14,67 @@ [1] ! WARNING: Detected `RUBY_MN_THREADS=1` [1] ! This setting is known to cause performance regressions with Puma. [1] ! Consider disabling this environment variable: https://github.com/puma/puma/issues/3720 -[1] - Worker 0 (PID: 9) booted in 0.11s, phase: 0 -[1] - Worker 1 (PID: 12) booted in 0.11s, phase: 0 -[1] - Worker 2 (PID: 15) booted in 0.1s, phase: 0 -[1] - Worker 3 (PID: 19) booted in 0.1s, phase: 0 -[1] - Worker 4 (PID: 23) booted in 0.1s, phase: 0 -[1] - Worker 5 (PID: 27) booted in 0.1s, phase: 0 -[1] - Worker 6 (PID: 31) booted in 0.1s, phase: 0 -[1] - Worker 7 (PID: 35) booted in 0.1s, phase: 0 -[1] - Worker 8 (PID: 39) booted in 0.1s, phase: 0 -[1] - Worker 9 (PID: 45) booted in 0.09s, phase: 0 -[1] - Worker 10 (PID: 50) booted in 0.09s, phase: 0 -[1] - Worker 11 (PID: 54) booted in 0.09s, phase: 0 -[1] - Worker 12 (PID: 60) booted in 0.09s, phase: 0 -[1] - Worker 13 (PID: 67) booted in 0.09s, phase: 0 -[1] - Worker 14 (PID: 73) booted in 0.09s, phase: 0 -[1] - Worker 15 (PID: 79) booted in 0.09s, phase: 0 -[1] - Worker 16 (PID: 85) booted in 0.09s, phase: 0 -[1] - Worker 17 (PID: 91) booted in 0.09s, phase: 0 -[1] - Worker 18 (PID: 96) booted in 0.09s, phase: 0 -[1] - Worker 19 (PID: 101) booted in 0.09s, phase: 0 -[1] - Worker 20 (PID: 108) booted in 0.09s, phase: 0 -[1] - Worker 21 (PID: 111) booted in 0.09s, phase: 0 -[1] - Worker 22 (PID: 118) booted in 0.09s, phase: 0 -[1] - Worker 23 (PID: 123) booted in 0.09s, phase: 0 -[1] - Worker 24 (PID: 128) booted in 0.09s, phase: 0 -[1] - Worker 25 (PID: 134) booted in 0.09s, phase: 0 -[1] - Worker 26 (PID: 140) booted in 0.09s, phase: 0 -[1] - Worker 27 (PID: 146) booted in 0.09s, phase: 0 -[1] - Worker 28 (PID: 149) booted in 0.09s, phase: 0 -[1] - Worker 29 (PID: 159) booted in 0.09s, phase: 0 -[1] - Worker 30 (PID: 169) booted in 0.08s, phase: 0 -[1] - Worker 31 (PID: 175) booted in 0.08s, phase: 0 -[1] - Worker 32 (PID: 179) booted in 0.08s, phase: 0 -[1] - Worker 33 (PID: 185) booted in 0.08s, phase: 0 -[1] - Worker 34 (PID: 191) booted in 0.08s, phase: 0 -[1] - Worker 35 (PID: 197) booted in 0.08s, phase: 0 -[1] - Worker 36 (PID: 202) booted in 0.08s, phase: 0 -[1] - Worker 37 (PID: 208) booted in 0.07s, phase: 0 -[1] - Worker 38 (PID: 214) booted in 0.07s, phase: 0 -[1] - Worker 39 (PID: 218) booted in 0.07s, phase: 0 -[1] - Worker 40 (PID: 223) booted in 0.07s, phase: 0 -[1] - Worker 41 (PID: 229) booted in 0.07s, phase: 0 -[1] - Worker 42 (PID: 235) booted in 0.07s, phase: 0 -[1] - Worker 43 (PID: 241) booted in 0.07s, phase: 0 -[1] - Worker 44 (PID: 246) booted in 0.07s, phase: 0 -[1] - Worker 45 (PID: 251) booted in 0.07s, phase: 0 -[1] - Worker 46 (PID: 256) booted in 0.06s, phase: 0 -[1] - Worker 47 (PID: 261) booted in 0.06s, phase: 0 -[1] - Worker 48 (PID: 267) booted in 0.06s, phase: 0 -[1] - Worker 49 (PID: 278) booted in 0.06s, phase: 0 -[1] - Worker 50 (PID: 283) booted in 0.06s, phase: 0 -[1] - Worker 51 (PID: 289) booted in 0.06s, phase: 0 -[1] - Worker 52 (PID: 294) booted in 0.05s, phase: 0 -[1] - Worker 53 (PID: 299) booted in 0.05s, phase: 0 -[1] - Worker 54 (PID: 305) booted in 0.05s, phase: 0 -[1] - Worker 55 (PID: 312) booted in 0.05s, phase: 0 -[1] - Worker 56 (PID: 320) booted in 0.05s, phase: 0 -[1] - Worker 57 (PID: 324) booted in 0.05s, phase: 0 -[1] - Worker 58 (PID: 330) booted in 0.05s, phase: 0 -[1] - Worker 59 (PID: 337) booted in 0.04s, phase: 0 -[1] - Worker 60 (PID: 341) booted in 0.04s, phase: 0 -[1] - Worker 61 (PID: 348) booted in 0.04s, phase: 0 -[1] - Worker 62 (PID: 355) booted in 0.04s, phase: 0 -[1] - Worker 63 (PID: 361) booted in 0.04s, phase: 0 +[1] - Worker 0 (PID: 9) booted in 0.1s, phase: 0 +[1] - Worker 1 (PID: 13) booted in 0.1s, phase: 0 +[1] - Worker 2 (PID: 17) booted in 0.1s, phase: 0 +[1] - Worker 3 (PID: 21) booted in 0.1s, phase: 0 +[1] - Worker 4 (PID: 25) booted in 0.1s, phase: 0 +[1] - Worker 5 (PID: 29) booted in 0.1s, phase: 0 +[1] - Worker 6 (PID: 33) booted in 0.1s, phase: 0 +[1] - Worker 7 (PID: 37) booted in 0.1s, phase: 0 +[1] - Worker 8 (PID: 42) booted in 0.09s, phase: 0 +[1] - Worker 9 (PID: 46) booted in 0.09s, phase: 0 +[1] - Worker 10 (PID: 52) booted in 0.09s, phase: 0 +[1] - Worker 11 (PID: 57) booted in 0.09s, phase: 0 +[1] - Worker 12 (PID: 62) booted in 0.09s, phase: 0 +[1] - Worker 13 (PID: 69) booted in 0.09s, phase: 0 +[1] - Worker 14 (PID: 76) booted in 0.09s, phase: 0 +[1] - Worker 15 (PID: 82) booted in 0.09s, phase: 0 +[1] - Worker 16 (PID: 88) booted in 0.08s, phase: 0 +[1] - Worker 17 (PID: 94) booted in 0.08s, phase: 0 +[1] - Worker 18 (PID: 100) booted in 0.08s, phase: 0 +[1] - Worker 19 (PID: 105) booted in 0.08s, phase: 0 +[1] - Worker 20 (PID: 110) booted in 0.08s, phase: 0 +[1] - Worker 21 (PID: 116) booted in 0.08s, phase: 0 +[1] - Worker 22 (PID: 122) booted in 0.08s, phase: 0 +[1] - Worker 23 (PID: 128) booted in 0.08s, phase: 0 +[1] - Worker 24 (PID: 134) booted in 0.08s, phase: 0 +[1] - Worker 25 (PID: 140) booted in 0.07s, phase: 0 +[1] - Worker 26 (PID: 145) booted in 0.07s, phase: 0 +[1] - Worker 27 (PID: 150) booted in 0.07s, phase: 0 +[1] - Worker 28 (PID: 156) booted in 0.07s, phase: 0 +[1] - Worker 29 (PID: 164) booted in 0.07s, phase: 0 +[1] - Worker 30 (PID: 174) booted in 0.07s, phase: 0 +[1] - Worker 31 (PID: 179) booted in 0.07s, phase: 0 +[1] - Worker 32 (PID: 185) booted in 0.06s, phase: 0 +[1] - Worker 33 (PID: 191) booted in 0.06s, phase: 0 +[1] - Worker 34 (PID: 196) booted in 0.06s, phase: 0 +[1] - Worker 35 (PID: 201) booted in 0.06s, phase: 0 +[1] - Worker 36 (PID: 207) booted in 0.06s, phase: 0 +[1] - Worker 37 (PID: 212) booted in 0.06s, phase: 0 +[1] - Worker 38 (PID: 217) booted in 0.06s, phase: 0 +[1] - Worker 39 (PID: 223) booted in 0.05s, phase: 0 +[1] - Worker 40 (PID: 229) booted in 0.05s, phase: 0 +[1] - Worker 41 (PID: 234) booted in 0.05s, phase: 0 +[1] - Worker 42 (PID: 239) booted in 0.05s, phase: 0 +[1] - Worker 43 (PID: 245) booted in 0.05s, phase: 0 +[1] - Worker 44 (PID: 250) booted in 0.05s, phase: 0 +[1] - Worker 45 (PID: 255) booted in 0.05s, phase: 0 +[1] - Worker 46 (PID: 261) booted in 0.05s, phase: 0 +[1] - Worker 47 (PID: 267) booted in 0.05s, phase: 0 +[1] - Worker 48 (PID: 273) booted in 0.04s, phase: 0 +[1] - Worker 49 (PID: 279) booted in 0.04s, phase: 0 +[1] - Worker 50 (PID: 285) booted in 0.04s, phase: 0 +[1] - Worker 51 (PID: 291) booted in 0.04s, phase: 0 +[1] - Worker 52 (PID: 300) booted in 0.04s, phase: 0 +[1] - Worker 53 (PID: 306) booted in 0.04s, phase: 0 +[1] - Worker 54 (PID: 311) booted in 0.03s, phase: 0 +[1] - Worker 55 (PID: 317) booted in 0.03s, phase: 0 +[1] - Worker 56 (PID: 326) booted in 0.03s, phase: 0 +[1] - Worker 57 (PID: 331) booted in 0.03s, phase: 0 +[1] - Worker 58 (PID: 337) booted in 0.03s, phase: 0 +[1] - Worker 59 (PID: 342) booted in 0.03s, phase: 0 +[1] - Worker 60 (PID: 348) booted in 0.03s, phase: 0 +[1] - Worker 61 (PID: 354) booted in 0.02s, phase: 0 +[1] - Worker 62 (PID: 360) booted in 0.02s, phase: 0 +[1] - Worker 63 (PID: 366) booted in 0.02s, phase: 0