Skip to content

Commit

Permalink
rpcapi: increase ipfs timeout and size
Browse files Browse the repository at this point in the history
  • Loading branch information
p4u committed Nov 23, 2023
1 parent 7f78220 commit 54785ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rpcapi/filehandlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
)

const (
storageTimeout = time.Second * 20
maxJSONsize = 1024 * 20 // 20 KiB
storageTimeout = time.Second * 240
maxJSONsize = 1024 * 1024 // 1 MiB
maxFetchFile = 1024 * 1024 * 2 // 2 MiB
)

Expand Down

0 comments on commit 54785ea

Please sign in to comment.