| // Copyright 2015 The Vanadium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style |
| // license that can be found in the LICENSE file. |
| |
| // Sensor Log configuration constants and default flag values. |
| package config |
| |
| import ( |
| "time" |
| |
| "v.io/v23/naming" |
| ) |
| |
| const ( |
| DefaultSbService = "syncbase" |
| |
| AppName = "sensorlog_lite" |
| DBName = "sldb" |
| |
| SyncPriority = 42 |
| |
| ScriptKillDelay = 100 * time.Millisecond |
| ) |
| |
| func SyncgroupName(publishService, devId string) string { |
| return naming.Join(publishService, "%%sync", "sllite", "dev", devId) |
| } |