Skip to content

Commit bce6445

Browse files
committed
apply serviceName to SampleApp
1 parent 48b4817 commit bce6445

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/wego/httpcache/samples/SampleApp.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public static AsyncHttpCacheService getAsyncHttpCacheService() {
2222
injector.getInstance(AsyncHttpCacheServiceFactory.class);
2323

2424
AsyncHttpClient asyncHttpClient = new AsyncHttpClient();
25-
return asyncHttpCacheServiceFactory.create(asyncHttpClient, 10000);
25+
return asyncHttpCacheServiceFactory.create("SampleApp", asyncHttpClient, 10000);
2626
}
2727

2828
public static void main(String[] args) throws Exception {

0 commit comments

Comments
 (0)