summaryrefslogtreecommitdiffstats
path: root/src/registry.c
diff options
context:
space:
mode:
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2016-09-07 02:37:35 +0300
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2016-09-07 02:37:35 +0300
commit703ae75fb617cdbde48c1ed862cfab85f149444e (patch)
tree9aed3be5a2e96732aab03d719750f7b7eb5dc26a /src/registry.c
parent1f4e5ad5189d169fc2523ce7b9c8f5f4d04448a2 (diff)
do not use (by default) the registry for custom dashboards
Diffstat (limited to 'src/registry.c')
-rw-r--r--src/registry.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/registry.c b/src/registry.c
index 0ac5210981..3c0a5ed77b 100644
--- a/src/registry.c
+++ b/src/registry.c
@@ -27,8 +27,15 @@
// - [DONE] limit the size of PERSON_URL names
// - limit the number of requests that add data to the registry,
// per client IP per hour
-
-
+//
+// 3. lower memory requirements
+//
+// - embed avl structures directly into registry objects, instead of DICTIONARY
+// - store GUIDs in memory as UUID instead of char *
+// (this will also remove the index hash, since UUIDs can be compared directly)
+// - do not track persons using the demo machines only
+// (i.e. start tracking them only when they access a non-demo machine)
+// - [DONE] do not track custom dashboards by default
#define REGISTRY_URL_FLAGS_DEFAULT 0x00
#define REGISTRY_URL_FLAGS_EXPIRED 0x01