Increase cache timeout to one hour.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 16 Jan 2011 14:18:40 +0000 (15:18 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 16 Jan 2011 14:18:40 +0000 (15:18 +0100)
src/main/java/net/pterodactylus/sone/freenet/wot/DefaultIdentity.java

index 3f4e66a..3c04823 100644 (file)
@@ -76,7 +76,7 @@ public class DefaultIdentity implements Identity {
                        }
                }
 
                        }
                }
 
-       }, new TimedMap<OwnIdentity, CacheItem<Trust>>(60000));
+       }, new TimedMap<OwnIdentity, CacheItem<Trust>>(60 * 60 * 1000));
 
        /**
         * Creates a new identity.
 
        /**
         * Creates a new identity.