mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-01-19 06:53:32 +08:00
78b3728169
configure s3 circuit breaker by 'command_s3_circuitbreaker.go': usage eg: # Configure the number of simultaneous global (current s3api node) requests s3.circuit.breaker -global -type count -actions Write -values 1000 -apply # Configure the number of simultaneous requests for bucket x read and write s3.circuit.breaker -buckets -type count -actions Read,Write -values 1000 -apply # Configure the total bytes of simultaneous requests for bucket write s3.circuit.breaker -buckets -type bytes -actions Write -values 100MiB -apply # Disable circuit breaker config of bucket 'x' s3.circuit.breaker -buckets x -enable false -apply # Delete circuit breaker config of bucket 'x' s3.circuit.breaker -buckets x -delete -apply |
||
---|---|---|
.. | ||
policy | ||
s3_constants | ||
s3err | ||
AmazonS3.xsd | ||
auth_credentials_subscribe.go | ||
auth_credentials_test.go | ||
auth_credentials.go | ||
auth_signature_v2.go | ||
auth_signature_v4.go | ||
auto_signature_v4_test.go | ||
chunked_reader_v4.go | ||
custom_types.go | ||
filer_multipart_test.go | ||
filer_multipart.go | ||
filer_util_tags.go | ||
filer_util.go | ||
README.txt | ||
s3api_auth.go | ||
s3api_bucket_handlers_test.go | ||
s3api_bucket_handlers.go | ||
s3api_bucket_skip_handlers.go | ||
s3api_circuit_breaker.go | ||
s3api_handlers.go | ||
s3api_object_copy_handlers_test.go | ||
s3api_object_copy_handlers.go | ||
s3api_object_handlers_postpolicy.go | ||
s3api_object_handlers.go | ||
s3api_object_multipart_handlers.go | ||
s3api_object_skip_handlers.go | ||
s3api_object_tagging_handlers.go | ||
s3api_objects_list_handlers_test.go | ||
s3api_objects_list_handlers.go | ||
s3api_policy.go | ||
s3api_server_grpc.go | ||
s3api_server.go | ||
s3api_status_handlers.go | ||
s3api_test.go | ||
s3api_xsd_generated.go | ||
stats.go | ||
tags_test.go | ||
tags.go |
see https://blog.aqwari.net/xml-schema-go/ 1. go get aqwari.net/xml/cmd/xsdgen 2. xsdgen -o s3api_xsd_generated.go -pkg s3api AmazonS3.xsd