diff --git a/core/src/main/groovy/com/muwire/core/hostcache/Host.groovy b/core/src/main/groovy/com/muwire/core/hostcache/Host.groovy index 65ecf308..138d9221 100644 --- a/core/src/main/groovy/com/muwire/core/hostcache/Host.groovy +++ b/core/src/main/groovy/com/muwire/core/hostcache/Host.groovy @@ -11,8 +11,9 @@ class Host { int failures,successes long lastAttempt - public Host(Destination destination) { + public Host(Destination destination, int clearInterval) { this.destination = destination + this.clearInterval = clearInterval } synchronized void onConnect() {