Skip to content

Commit

Permalink
Fix constants in nbd pool
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentaTomas committed Oct 10, 2024
1 parent 3633116 commit 82ee3f3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/block-storage/pkg/nbd/nbd.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,13 @@ import (
"log"
"net"
"os"
"time"

"github.com/e2b-dev/infra/packages/block-storage/pkg/block"

"github.com/pojntfx/go-nbd/pkg/client"
"github.com/pojntfx/go-nbd/pkg/server"
)

const (
nbdDeviceAcquireTimeout = 10 * time.Second
nbdDeviceAcquireDelay = 10 * time.Millisecond
)

type Nbd struct {
pool *NbdDevicePool
Path string
Expand Down

0 comments on commit 82ee3f3

Please sign in to comment.