Add config 'forcely_yield_count'

the default value 1000 would make a fiber yield on each 4ms on SSD

Apply yield counter in Dir.contents_signauture
Use contents_signature cache in Title.new
This commit is contained in:
Leeingnyo
2021-09-16 00:16:26 +09:00
parent 44a6f822cd
commit 70ab198a33
4 changed files with 13 additions and 8 deletions
+1
View File
@@ -23,6 +23,7 @@ class Config
property cache_enabled = false
property cache_size_mbs = 50
property cache_log_enabled = true
property forcely_yield_count = 1000
property disable_login = false
property default_username = ""
property auth_proxy_header_name = ""