cmd/stdiscosrv: Delete records for abandoned devices (#4957)

Once a device has been missing for a long time, and noone has asked
about it for a long time, delete the record.
This commit is contained in:
Jakob Borg
2018-05-16 09:26:20 +02:00
committed by GitHub
parent c08024ebb8
commit 127c891526
2 changed files with 13 additions and 0 deletions

View File

@@ -95,6 +95,7 @@ const (
dbOpGet = "get"
dbOpPut = "put"
dbOpMerge = "merge"
dbOpDelete = "delete"
dbResSuccess = "success"
dbResNotFound = "not_found"
dbResError = "error"