Browse Source

Update TreeFrog Framework to version 2.2 (#6875)

* updated to version 2.1.

* renamed

* updated benchmark_config.json

* updated treefrog to version 2.2.
TreeFrog Framework 3 years ago
parent
commit
3b28fd0557

+ 1 - 4
frameworks/C++/treefrog/config/application.ini

@@ -48,9 +48,6 @@ SqlQueriesStoredDirectory=sql/
 # app/views/direct. By default, this parameter is false.
 DirectViewRenderMode=false
 
-# Specify a file path for system log.
-SystemLogFile=log/treefrog.log
-
 # Specify a file path for SQL query log.
 # If it's empty or the line is commented out, output to SQL query log
 # is disabled.
@@ -251,7 +248,7 @@ Cache.Backend=sqlite
 # Probability of starting garbage collection (GC) for cache.
 # If 100 is specified, GC will be started at a rate of once per 100
 # sets. If 0 is specified, the GC never starts.
-Cache.GcProbability=100000
+Cache.GcProbability=10000000
 
 # If true, enable LZ4 compression when storing data.
 Cache.EnableCompression=no

+ 1 - 1
frameworks/C++/treefrog/config/cache.ini

@@ -9,7 +9,7 @@ Port=
 UserName=
 Password=
 ConnectOptions=
-PostOpenStatements=PRAGMA journal_mode=WAL; PRAGMA busy_timeout=5000; PRAGMA synchronous=NORMAL; VACUUM;
+PostOpenStatements="PRAGMA journal_mode=OFF; PRAGMA busy_timeout=5; PRAGMA synchronous=OFF; VACUUM;"
 
 [redis]
 DatabaseName=

+ 2 - 2
frameworks/C++/treefrog/config/logger.ini

@@ -15,7 +15,7 @@ DefaultTextEncoding=
 ##
 
 # Specify the application log file name.
-FileLogger.Target=log/app.log
+FileLogger.Target=
 
 # Specify the layout of FileLogger.
 #  %d : date-time
@@ -34,5 +34,5 @@ FileLogger.Layout="%d %5P [%t] %m%n"
 FileLogger.DateTimeFormat="yyyy-MM-dd hh:mm:ss"
 
 # Outputs the logs of equal or higher priority than this.
-FileLogger.Threshold=debug
+FileLogger.Threshold=info
 

+ 1 - 1
frameworks/C++/treefrog/treefrog-epoll.dockerfile

@@ -2,7 +2,7 @@ FROM buildpack-deps:focal
 
 ENV DEBIAN_FRONTEND noninteractive
 ENV DEBCONF_NOWARNINGS yes
-ENV TFVER=2.1.0
+ENV TFVER=2.2.0
 
 RUN apt-get update -yqq && apt-get upgrade -yq && apt-get install -yqq --no-install-recommends \
     software-properties-common unzip wget make cmake gcc clang libjemalloc-dev qt5-qmake qt5-default qtbase5-dev \

+ 1 - 1
frameworks/C++/treefrog/treefrog-mongodb.dockerfile

@@ -2,7 +2,7 @@ FROM buildpack-deps:focal
 
 ENV DEBIAN_FRONTEND noninteractive
 ENV DEBCONF_NOWARNINGS yes
-ENV TFVER=2.1.0
+ENV TFVER=2.2.0
 
 RUN apt-get update -yqq && apt-get upgrade -yq && apt-get install -yqq --no-install-recommends \
     software-properties-common unzip wget make cmake gcc clang libjemalloc-dev qt5-qmake qt5-default qtbase5-dev \

+ 1 - 1
frameworks/C++/treefrog/treefrog-mysql.dockerfile

@@ -2,7 +2,7 @@ FROM buildpack-deps:focal
 
 ENV DEBIAN_FRONTEND noninteractive
 ENV DEBCONF_NOWARNINGS yes
-ENV TFVER=2.1.0
+ENV TFVER=2.2.0
 
 RUN apt-get update -yqq && apt-get upgrade -yq && apt-get install -yqq --no-install-recommends \
     software-properties-common unzip wget make cmake gcc clang libjemalloc-dev qt5-qmake qt5-default qtbase5-dev \

+ 1 - 1
frameworks/C++/treefrog/treefrog.dockerfile

@@ -2,7 +2,7 @@ FROM buildpack-deps:focal
 
 ENV DEBIAN_FRONTEND noninteractive
 ENV DEBCONF_NOWARNINGS yes
-ENV TFVER=2.1.0
+ENV TFVER=2.2.0
 
 RUN apt-get update -yqq && apt-get upgrade -yq && apt-get install -yqq --no-install-recommends \
     software-properties-common unzip wget make cmake gcc clang libjemalloc-dev qt5-qmake qt5-default qtbase5-dev \