mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 00:03:28 +02:00
Looks like the DB needs ready: false on device absence or plugged in devices show up as immediately available. That's a bug, will need to investigate later.
This commit is contained in:
@@ -163,6 +163,7 @@ dbapi.unsetDeviceOwner = function(serial) {
|
||||
dbapi.setDeviceAbsent = function(serial) {
|
||||
return db.run(r.table('devices').get(serial).update({
|
||||
present: false
|
||||
, ready: false
|
||||
}))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user