Skip to content

Commit

Permalink
fex: deferred upload disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
asabya committed Sep 3, 2024
1 parent b9a592a commit 88941b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/blockstore/bee/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ func (s *Client) UploadSOC(owner, id, signature string, data []byte) (address []
// the postage block id to store the SOC chunk
req.Header.Set(swarmPostageBatchId, s.postageBlockId)
req.Header.Set(contentTypeHeader, "application/octet-stream")
req.Header.Set(swarmDeferredUploadHeader, "true")
req.Header.Set(swarmDeferredUploadHeader, "false")

// TODO change this in the future when we have some alternative to pin SOC
// This is a temporary fix to force soc pinning
Expand Down Expand Up @@ -250,7 +250,7 @@ func (s *Client) UploadChunk(ch swarm.Chunk) (address []byte, err error) {
// the postage block id to store the chunk
req.Header.Set(swarmPostageBatchId, s.postageBlockId)

req.Header.Set(swarmDeferredUploadHeader, "true")
req.Header.Set(swarmDeferredUploadHeader, "false")

response, err := s.Do(req)
if err != nil {
Expand Down Expand Up @@ -359,7 +359,7 @@ func (s *Client) UploadBlob(data []byte, tag uint32, encrypt bool) (address []by
// the postage block id to store the blob
req.Header.Set(swarmPostageBatchId, s.postageBlockId)

req.Header.Set(swarmDeferredUploadHeader, "true")
req.Header.Set(swarmDeferredUploadHeader, "false")

response, err := s.Do(req)
if err != nil {
Expand Down

0 comments on commit 88941b6

Please sign in to comment.