git://git.onelab.eu
/
distributedratelimiting.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
9853288
)
Tweaked the timing of flow expiration back down.
author
Kevin Webb
<kcwebb@ucsd.edu>
Fri, 21 Nov 2008 23:54:21 +0000
(23:54 +0000)
committer
Kevin Webb
<kcwebb@ucsd.edu>
Fri, 21 Nov 2008 23:54:21 +0000
(23:54 +0000)
drl/raterouter.h
patch
|
blob
|
history
drl/standard.h
patch
|
blob
|
history
diff --git
a/drl/raterouter.h
b/drl/raterouter.h
index
958ef4e
..
789cd95
100644
(file)
--- a/
drl/raterouter.h
+++ b/
drl/raterouter.h
@@
-41,7
+41,7
@@
enum accountings { ACT_STANDARD = 1, ACT_SAMPLEHOLD = 2, ACT_SIMPLE = 3 };
#define COMM_DEFS
/* global constants */
#define COMM_DEFS
/* global constants */
-#define IDENT_CLEAN_INTERVAL
10
/* in seconds */
+#define IDENT_CLEAN_INTERVAL
5
/* in seconds */
#define LIMITER_LISTEN_PORT 9001
#define LIMITER_LISTEN_PORT 9001
diff --git
a/drl/standard.h
b/drl/standard.h
index
d5799d6
..
d54aa3e
100644
(file)
--- a/
drl/standard.h
+++ b/
drl/standard.h
@@
-16,7
+16,7
@@
/** The number of seconds after which a flow is considered to be inactive.
* Inactive flows will be removed from the table during the next call to the
* cleanup function. */
/** The number of seconds after which a flow is considered to be inactive.
* Inactive flows will be removed from the table during the next call to the
* cleanup function. */
-#define FLOW_IDLE_TIME
30
+#define FLOW_IDLE_TIME
15
/** Representation of a flow in a standard table. */
typedef struct std_flow {
/** Representation of a flow in a standard table. */
typedef struct std_flow {