projects
/
blerg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make /status work with GET for non-changing requests
[blerg.git]
/
config.h
diff --git
a/config.h
b/config.h
index
b363206
..
c907f35
100644
(file)
--- a/
config.h
+++ b/
config.h
@@
-1,6
+1,7
@@
#ifndef _CONFIG_H
#define _CONFIG_H
#ifndef _CONFIG_H
#define _CONFIG_H
+#define BLERG_PATH "/var/lib/blerg"
#define DATA_PATH "data"
#define HASH_TAGS_PATH "hash_tags"
#define REF_TAGS_PATH "ref_tags"
#define DATA_PATH "data"
#define HASH_TAGS_PATH "hash_tags"
#define REF_TAGS_PATH "ref_tags"
@@
-13,4
+14,6
@@
#define MAX_TAG_LENGTH 64
#define MAX_TAGS_PER_RECORD 1024
#define MAX_TAG_LENGTH 64
#define MAX_TAGS_PER_RECORD 1024
+#define AUTHENTICATION_TIMEOUT 3600 /* Time out the user's session after one hour */
+
#endif //_CONFIG_H
#endif //_CONFIG_H