mirror of
https://github.com/openstf/stf
synced 2025-10-05 02:29:26 +02:00
Separate device logs
This commit is contained in:
parent
345ba4d8a8
commit
d99a6e7a97
29 changed files with 17057 additions and 64 deletions
|
@ -154,6 +154,7 @@ dbapi.saveDeviceInitialState = function(serial, device) {
|
|||
, remoteConnect: false
|
||||
, remoteConnectUrl: null
|
||||
, usage: null
|
||||
, logs_enabled: false
|
||||
}
|
||||
return db.run(r.table('devices').get(serial).update(data))
|
||||
.then(function(stats) {
|
||||
|
@ -224,6 +225,7 @@ dbapi.unsetDeviceUsage = function(serial) {
|
|||
return db.run(r.table('devices').get(serial).update({
|
||||
usage: null
|
||||
, usageChangedAt: r.now()
|
||||
, logs_enabled: false
|
||||
}))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue