changeset 26:00bd0b0ef015 stable-1-2

reduce sleep time from 10 to 2 seconds
author carl
date Wed, 01 Feb 2006 10:58:23 -0800
parents caff690d7766
children 28fec0c67646
files ChangeLog src/syslog2iptables.cpp
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Feb 01 10:42:09 2006 -0800
+++ b/ChangeLog	Wed Feb 01 10:58:23 2006 -0800
@@ -2,6 +2,7 @@
 
 1.2 2006-02-01
     Don't flush the table to remove entries, use -D option to iptables.
+    Reduce sleep time from 10 to 2 seconds between read cycles.
 
 1.1 2006-01-08
     Add syslog entries when new ip addresses are blocked or released.
--- a/src/syslog2iptables.cpp	Wed Feb 01 10:42:09 2006 -0800
+++ b/src/syslog2iptables.cpp	Wed Feb 01 10:58:23 2006 -0800
@@ -192,7 +192,7 @@
 			pthread_mutex_unlock(&config_mutex);
 		}
 		c->read();
-		c->sleep(10, t);
+		c->sleep(2, t);
 	}
 }