Skip to content

Commit

Permalink
Some minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Stratehm committed Jul 3, 2014
1 parent 185a976 commit 8c8d765
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1,955 deletions.
2 changes: 1 addition & 1 deletion src/main/java/strat/mining/stratum/proxy/Launcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ private static void initHttpServices(ConfigurationManager configurationManager)
ServerConfiguration serverConfiguration = apiHttpServer.getServerConfiguration();
apiHttpServer.getListener("grizzly").getCompressionConfig().setCompressionMode(CompressionMode.ON);
apiHttpServer.getListener("grizzly").getCompressionConfig()
.setCompressableMimeTypes("text/javascript", "application/json", "text/html", "text/css");
.setCompressableMimeTypes("text/javascript", "application/json", "text/html", "text/css", "text/plain");
apiHttpServer.getListener("grizzly").getCompressionConfig().setCompressionMinSize(1024);
HttpHandler staticHandler = getStaticHandler();
if (staticHandler != null) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/stratum-proxy-full-sample.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"logDirectory" : "",
"logLevel" : "TRACE",
"logLevel" : "INFO",
"stratumListenPort" : 3333,
"stratumListenAddress" : "0.0.0.0",
"getworkListenPort" : 8332,
Expand Down
Loading

0 comments on commit 8c8d765

Please sign in to comment.