Skip to content

Commit 94e195e

Browse files
authored
Merge pull request #219 from maxmind/horgh/development
Development branch using new maxmind-db
2 parents f84abda + 579f23c commit 94e195e

24 files changed

Lines changed: 814 additions & 125 deletions

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ CHANGELOG
55
-------------------
66
* The HTTP client now allows up to 20 connections to be active at once.
77
Previously the limit was 2.
8+
* Update `maxmind-db` dependency to a new version that no longer uses
9+
Jackson. This improves database lookup performance.
810
* The `isResidentialProxy()` method was added to
911
`com.maxmind.geoip2.model.AnonymousIpResponse` and
1012
`com.maxmind.geoip2.record.Traits` for use with the Anonymous IP database

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<dependency>
4040
<groupId>com.maxmind.db</groupId>
4141
<artifactId>maxmind-db</artifactId>
42-
<version>1.4.0</version>
42+
<version>2.0.0-rc2</version>
4343
</dependency>
4444
<dependency>
4545
<groupId>org.apache.httpcomponents</groupId>

sample/Benchmark.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ private static void bench(DatabaseReader r, int count, int seed) throws GeoIp2Ex
6565
long qps = count * 1000000000L / duration;
6666
System.out.println("Requests per second: " + qps);
6767
}
68-
}
68+
}

0 commit comments

Comments
 (0)