mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
obuspa: updated default instance cache time to 10 mins
This commit is contained in:
parent
1a167f8854
commit
5d03bbfd20
3 changed files with 9 additions and 1 deletions
|
|
@ -5,7 +5,7 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=obuspa
|
||||
PKG_VERSION:=9.0.0.1
|
||||
PKG_VERSION:=9.0.0.2
|
||||
|
||||
LOCAL_DEV:=0
|
||||
ifneq ($(LOCAL_DEV),1)
|
||||
|
|
|
|||
|
|
@ -5,6 +5,9 @@ config obuspa 'global'
|
|||
option log_level '3'
|
||||
option prototrace '0'
|
||||
option db_file '/etc/obuspa/usp.db'
|
||||
option max_group_sep '2'
|
||||
option ipc_timeout '30'
|
||||
option max_cache_time '600'
|
||||
option dm_caching_exclude '/etc/obuspa/dmcaching_exclude.json'
|
||||
#option trust_cert '/etc/obuspa/ca.pem'
|
||||
#option client_cert '/etc/obuspa/client.pem'
|
||||
|
|
|
|||
|
|
@ -1,5 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
log() {
|
||||
echo "$*"|logger -t obuspa.hotplug -p debug
|
||||
}
|
||||
|
||||
get_access_role() {
|
||||
local mode lan_proto
|
||||
|
||||
|
|
@ -34,6 +38,7 @@ fi
|
|||
|
||||
[ "$ACTION" = "ifup" -a "${intf}" = "${INTERFACE}" ] && {
|
||||
sleep 1
|
||||
log "Sending WakeUp event, due to [${ACTION}] on ${intf}"
|
||||
obuspa -c event Device.LocalAgent.WakeUp!
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue