fix(server/files): fix Content-Disposition is not set (#46)
* fix(server/files): fix Content-Disposition is not set * test(header): check content disposition header
This commit is contained in:
parent
a9ccb4506c
commit
8b5a80f766
6 changed files with 23 additions and 7 deletions
|
@ -38,7 +38,7 @@ func waitForReady(addr string) bool {
|
|||
for retry > 0 {
|
||||
_, _, errs := setCl.Health()
|
||||
if len(errs) > 0 {
|
||||
time.Sleep(100)
|
||||
time.Sleep(100 * time.Millisecond)
|
||||
} else {
|
||||
return true
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue