things db config and sdk

This commit is contained in:
imhao183
2020-05-01 12:38:27 +08:00
committed by heavyrain2012
parent 739452830d
commit e771794bc0
17 changed files with 355 additions and 14 deletions
+12 -2
View File
@@ -102,13 +102,23 @@
</map-store>
</map>
<map name="things">
<map name="device">
<!-- 7 days -->
<time-to-live-seconds>604800</time-to-live-seconds>
<eviction-policy>LRU</eviction-policy>
<max-size policy="PER_NODE">1000000</max-size>
<eviction-percentage>10</eviction-percentage>
<map-store enabled="true">
<class-name>io.moquette.persistence.DeviceLoader</class-name>
<write-delay-seconds>0</write-delay-seconds>
</map-store>
</map>
<multimap name="user_robots">
</multimap>
<multimap name="user_things">
<multimap name="user_devices">
</multimap>