chore: run benchmark
This commit is contained in:
@@ -30,8 +30,6 @@ module App::Controllers
|
||||
@env.response.headers["X-Forwarded-For"] = client_ip.to_s
|
||||
@env.response.headers["Connection"] = "close"
|
||||
|
||||
@env.response.flush
|
||||
|
||||
spawn do
|
||||
begin
|
||||
user_agent_str = @env.request.headers["User-Agent"]?
|
||||
|
||||
+1
-3
@@ -15,9 +15,7 @@ module App::Lib
|
||||
db_url = base_url + separator +
|
||||
"&journal_mode=WAL" +
|
||||
"&synchronous=NORMAL" + # Better performance with reasonable safety
|
||||
"&foreign_keys=true" +
|
||||
"&cache_size=10000" + # Larger cache (10MB) for frequently accessed data
|
||||
"&wal_autocheckpoint=10000" # Less frequent checkpoints
|
||||
"&foreign_keys=true"
|
||||
|
||||
conf.uri = db_url
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user