Mercurial > eagle-eye
changeset 22:552528bb4917
refined the cache timeout is 12 hours.
author | "Rex Tsai <chihchun@kalug.linux.org.tw>" |
---|---|
date | Wed, 08 Oct 2008 19:27:54 +0800 |
parents | d5e02a25b000 |
children | 54ab0becd730 |
files | .hgignore scan.pl sheep.pl |
diffstat | 3 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgignore Wed Oct 08 19:25:31 2008 +0800 +++ b/.hgignore Wed Oct 08 19:27:54 2008 +0800 @@ -1,7 +1,8 @@ -syntax=regexp +syntax: glob cookies.txt ikariam.sqlite perl samples sheep.sh sheep.txt +*.html
--- a/scan.pl Wed Oct 08 19:25:31 2008 +0800 +++ b/scan.pl Wed Oct 08 19:27:54 2008 +0800 @@ -29,7 +29,7 @@ printf("city %d %s saved\n", $city->{cityId}, $city->{cityname}); if(my $user = Ikariam::User->retrieve($city->{user})) { - if($user->time le (time - 60*60)) { + if($user->time le (time - 60*60*12)) { # Download user profile. foreach my $x (qw/score army_score_main trader_score_secondary/) {