mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 04:30:26 +03:00
Updates for cli and context
cli adds new global options. We'll be able to specify flags that apply to multiple options now. context update fixes parallelWriter function, actually writes a value out now.
This commit is contained in:
+1
-1
@@ -98,7 +98,7 @@ func parallelReader(r *http.Request, key string, iterations int, wait, done chan
|
||||
func parallelWriter(r *http.Request, key, value string, iterations int, wait, done chan struct{}) {
|
||||
<-wait
|
||||
for i := 0; i < iterations; i++ {
|
||||
Get(r, key)
|
||||
Set(r, key, value)
|
||||
}
|
||||
done <- struct{}{}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user