hystrix:
threadpool: #執行緒池
default: #預設配置
coresize: 10 #執行緒池執行緒數量
maxqueuesize: 200 #緩衝區數量, 如果為-1,則不緩衝,直接進行降級熔斷 fallback
queuesizerejectionthreshold: 2 # 緩衝區大小超限的閾值,超限就直接降級熔斷
command:
# 這是預設的配置
default:
execution:
timeout:
enabled: true
isolation:
strategy: thread
thread:
timeoutinmilliseconds: 15000
interruptontimeout: true
interruptonfuturecancel: false
semaphore:
maxconcurrentrequests: 2
fallback:
enabled: true
isolation:
semaphore:
maxconcurrentrequests: 10
circuitbreaker:
enabled: true
forceopen: false
forceclosed: false
requestvolumethreshold: 4
errorthresholdpercentage: 50
sleepwindowinmilliseconds: 10000
metrics:
rollingstats:
timeinmilliseconds: 5000
numbuckets: 10
rollingpercentile:
enabled: true
timeinmilliseconds: 60000
numbuckets: 6
bucketsize: 100
healthsnapshot:
intervalinmilliseconds: 500
windows mysql預設配置檔案
查詢配置目錄 select basedir 查詢資料目錄 select datadir 查詢資料庫編碼 show variables like char my.ini mysql 設定mysql客戶端預設字符集 default character set utf8 mysqld 設定3306埠 po...
Superset config配置檔案引數
superset配置檔案config.py檔案引數修改相關影響 1 如果讓dashboard左側出現篩選器,dashboard可交叉篩選,將以下三個引數設定為true dashboard native filters true,dashboard cross filters true,dashboa...
nginx 一)之預設配置檔案
首先是nginx.conf vim etc nginx nginx.conf user nginx 設定nginx服務的系統使用使用者 worker processes 1 工作程序數 error log var log nginx error.log warn nginx的錯誤日誌 pid var...