Skip to content

Commit

Permalink
Device init timeout was mistakenly left enabled after the initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpevzner committed Dec 3, 2024
1 parent 2ee926e commit d3651a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion device.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ func NewDevice(desc UsbDeviceDesc) (*Device, error) {
})

// Enable handling incoming requests
dev.UsbTransport.SetTimeout(DevInitTimeout)
dev.UsbTransport.SetTimeout(0)
dev.HTTPProxy.Enable()

// Start DNS-SD publisher
Expand Down

0 comments on commit d3651a7

Please sign in to comment.