mirror of
https://github.com/openstf/stf
synced 2025-10-04 02:09:32 +02:00
Separate device log recording from the rest of the app. This should cause less strain on the DB server especially since the full event log is rarely needed; you could just use your favorite log collector to watch stderr. DB calls are still mixed, but may be refactored out later.
This commit is contained in:
parent
85067b6f0b
commit
3e5903edcf
4 changed files with 107 additions and 2 deletions
|
@ -139,7 +139,6 @@ module.exports = function(options) {
|
|||
appDealer.send([channel, data])
|
||||
})
|
||||
.on(wire.DeviceLogMessage, function(channel, message, data) {
|
||||
dbapi.saveDeviceLog(message.serial, message)
|
||||
appDealer.send([channel, data])
|
||||
})
|
||||
.on(wire.DeviceIdentityMessage, function(channel, message, data) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue