Explorar o código

Update application.xml (#6348)

* Update application.xml

* Update Service.java
Redkale %!s(int64=4) %!d(string=hai) anos
pai
achega
f34037cef5

+ 8 - 9
frameworks/Java/redkale/conf/application.xml

@@ -4,24 +4,23 @@
     
     <!--  see: http://redkale.org/redkale.html#redkale_confxml  -->
     
-    <resources>
-		<properties>		
+    <resources>	    
+        <executor threads="0"/>	    
+	<properties>		
             <property name="system.property.http.response.header.server" value="redkale"/>
             <property name="system.property.http.response.header.connection" value="none"/>
         </properties>
     </resources> 
         
-    <server protocol="HTTP" host="0.0.0.0" port="8080" netimpl="nio">      
-                
+    <server protocol="HTTP" host="0.0.0.0" port="8080">  
         <response>
-			<contenttype plain="text/plain" json="application/json"/>  
-			<date period="1000"/>
-		</response>
+	    <contenttype plain="text/plain" json="application/json"/>  
+	    <date period="1000"/>
+	</response>
 
         <services autoload="true"/>        
         <rest autoload="true"/>
-        <servlets autoload="true"/>
-        
+        <servlets autoload="true"/>        
     </server>
     
 </application>

+ 1 - 1
frameworks/Java/redkale/src/main/java/org/redkalex/benchmark/Service.java

@@ -29,7 +29,7 @@ public class Service extends AbstractService {
 
     @Override
     public void init(AnyValue conf) {
-        source.queryList(CachedWorld.class);
+        //source.queryList(CachedWorld.class);
     }
 
     @RestMapping(name = "json")