summaryrefslogtreecommitdiff
path: root/trackerlogic.h
diff options
context:
space:
mode:
Diffstat (limited to 'trackerlogic.h')
-rw-r--r--trackerlogic.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/trackerlogic.h b/trackerlogic.h
index c85c520..6f0e09b 100644
--- a/trackerlogic.h
+++ b/trackerlogic.h
@@ -38,10 +38,10 @@ typedef time_t ot_time;
38#define OT_POOLS_TIMEOUT 300 38#define OT_POOLS_TIMEOUT 300
39#define NOW (time(NULL)/OT_POOLS_TIMEOUT) 39#define NOW (time(NULL)/OT_POOLS_TIMEOUT)
40 40
41#define OT_VECTOR_MIN_MEMBERS 128 41#define OT_VECTOR_MIN_MEMBERS 16
42#define OT_VECTOR_GROW_RATIO 2 42#define OT_VECTOR_GROW_RATIO 4
43#define OT_VECTOR_SHRINK_THRESH 3 43#define OT_VECTOR_SHRINK_THRESH 5
44#define OT_VECTOR_SHRINK_RATIO 2 44#define OT_VECTOR_SHRINK_RATIO 4
45typedef struct { 45typedef struct {
46 void *data; 46 void *data;
47 size_t size; 47 size_t size;