deason 4 years ago
parent
commit
c5e00fa429
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/java/cn/com/qmth/examcloud/ws/WebSocketApp.java

+ 2 - 2
src/main/java/cn/com/qmth/examcloud/ws/WebSocketApp.java

@@ -14,10 +14,10 @@ import org.springframework.context.annotation.Configuration;
 public class WebSocketApp {
 
     static {
-        String runtimeLevel = System.getProperty("log.commonLevel");
-        if (null == runtimeLevel) {
+        if (System.getProperty("log.commonLevel") == null) {
             System.setProperty("log.commonLevel", "INFO");
         }
+        System.setProperty("hibernate.dialect.storage_engine", "innodb");
     }
 
     /**