Replace QUIC with HTTP3/QUIC #43

Merged
nikooo777 merged 18 commits from http3 into master 2020-07-09 15:17:35 +02:00
Showing only changes of commit 5c91051b78 - Show all commits

View file

@ -124,14 +124,6 @@ func (d *DiskBlobStore) Put(hash string, blob stream.Blob) error {
if err != nil {
return err
}
select {
case <-d.diskCleanupBusy:
if time.Since(d.lastChecked) > 5*time.Minute {
go d.ensureDiskSpace()
}
default:
break
}
return ioutil.WriteFile(d.path(hash), blob, 0644)
}