aboutsummaryrefslogtreecommitdiff
path: root/weed/stats/metrics.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2024-10-10 10:00:30 -0700
committerchrislu <chris.lu@gmail.com>2024-10-10 10:00:30 -0700
commit35fd1e1c9af62df7ca50324a0db2983ac4af4176 (patch)
treedd0be4f5fb6799ec522094a82e37daf91525d015 /weed/stats/metrics.go
parentb28b1a34025a2f2ed80883e245250d00783bfea7 (diff)
downloadseaweedfs-35fd1e1c9af62df7ca50324a0db2983ac4af4176.tar.xz
seaweedfs-35fd1e1c9af62df7ca50324a0db2983ac4af4176.zip
optimize memory usage for large number of volumes
1. unwrap the map to avoid extra map object creation 2. fix ec shard counting in UpdateEcShards
Diffstat (limited to 'weed/stats/metrics.go')
0 files changed, 0 insertions, 0 deletions