mirror of
https://github.com/henrygd/beszel.git
synced 2026-04-11 07:21:50 +02:00
Compare commits
1 Commits
temp-pr-16
...
23c4958145
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
23c4958145 |
@@ -171,7 +171,7 @@ func (sm *SmartManager) ScanDevices(force bool) error {
|
|||||||
configuredDevices = parsedDevices
|
configuredDevices = parsedDevices
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
|
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
|
||||||
defer cancel()
|
defer cancel()
|
||||||
|
|
||||||
cmd := exec.CommandContext(ctx, sm.binPath, "--scan", "-j")
|
cmd := exec.CommandContext(ctx, sm.binPath, "--scan", "-j")
|
||||||
|
|||||||
Reference in New Issue
Block a user