@@ -50,7 +50,8 @@ test_config = StaticConfig(
50
50
cache_tti_secs= 5 * 60 ,
51
51
multipart_put_threshold= 8 * 1024 * 1024 ,
52
52
multipart_get_threshold= 8 * 1024 * 1024 ,
53
- multipart_get_part_size= 8 * 1024 * 1024
53
+ multipart_get_part_size= 8 * 1024 * 1024 ,
54
+ concurrency_limit= 512
54
55
)
55
56
init_object_store (test_config)
56
57
```
@@ -61,10 +62,11 @@ cache\_capacity is the size of the LRU cache rust uses to cache connection objec
61
62
means a unique combination of destination URL, credentials, and per-connection configuration such as
62
63
timeouts; it does not mean an HTTP connection.
63
64
64
- cache\_ ttl\_ secs is the time-to-live in seconds for the rust connection cache.
65
+ cache\_ ttl\_ secs is the time-to-live in seconds for the rust connection cache. Using 0 will disable
66
+ ttl eviction.
65
67
66
68
cache\_ tti\_ secs is the time in seconds that a connection can be idle before it is removed from the
67
- rust cache.
69
+ rust cache. Using 0 will disable tti eviction.
68
70
69
71
multipart\_ put\_ threshold is the size in bytes for which any put request over this size will use a
70
72
multipart upload. The put part size is determined by the rust object\_ store implementation, which
@@ -74,6 +76,8 @@ multipart\_get\_threshold and multipart\_get\_part\_size configure automatic mul
74
76
size can be greater than the threshold without breaking anything, but it may not make sense to do so.
75
77
The default 8MB for these values was borrowed from CloudStore.jl.
76
78
79
+ concurrency\_ limit is the max number of concurrent Rust tasks that will be allowed for requests.
80
+
77
81
## Design
78
82
79
83
#### Packaging
0 commit comments