You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streams.apache.org by mf...@apache.org on 2014/05/12 21:54:14 UTC
[2/9] git commit: sorry, changed the delay time to 1 second.
sorry, changed the delay time to 1 second.
Project: http://git-wip-us.apache.org/repos/asf/incubator-streams/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-streams/commit/734e2853
Tree: http://git-wip-us.apache.org/repos/asf/incubator-streams/tree/734e2853
Diff: http://git-wip-us.apache.org/repos/asf/incubator-streams/diff/734e2853
Branch: refs/heads/master
Commit: 734e28532219bf5eb70d17022f5df958d7e93533
Parents: 2d15634
Author: Matthew Hager <Ma...@gmail.com>
Authored: Thu May 8 12:25:12 2014 -0500
Committer: Matthew Hager <Ma...@gmail.com>
Committed: Thu May 8 12:25:12 2014 -0500
----------------------------------------------------------------------
.../main/java/org/apache/streams/urls/DomainSensitivity.java | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/734e2853/streams-contrib/streams-processor-urls/src/main/java/org/apache/streams/urls/DomainSensitivity.java
----------------------------------------------------------------------
diff --git a/streams-contrib/streams-processor-urls/src/main/java/org/apache/streams/urls/DomainSensitivity.java b/streams-contrib/streams-processor-urls/src/main/java/org/apache/streams/urls/DomainSensitivity.java
index 763e561..90a13fa 100644
--- a/streams-contrib/streams-processor-urls/src/main/java/org/apache/streams/urls/DomainSensitivity.java
+++ b/streams-contrib/streams-processor-urls/src/main/java/org/apache/streams/urls/DomainSensitivity.java
@@ -8,14 +8,11 @@ import java.util.concurrent.ConcurrentMap;
* This is a static utility helper class to obey domain sensitivity. It cannot be
* instantiated and can only be referenced through the static accessor functions
*
- * @see
- *
- *
*/
public abstract class DomainSensitivity {
// The amount of time we want to space between domain calls
- public static final long RECENT_DOMAINS_BACKOFF = 5000;
+ public static final long RECENT_DOMAINS_BACKOFF = 1000;
public static final long DEFAULT_STAGGER = RECENT_DOMAINS_BACKOFF / 10;
// Map to store the information of recent domains, with the last time they were accessed.