You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
369 B
C
18 lines
369 B
C
|
4 years ago
|
#pragma once
|
||
|
|
#include <QtCore>
|
||
|
|
|
||
|
|
#include "lp_qt_utils.h"
|
||
|
|
|
||
|
|
typedef struct lpDBConfigNode {
|
||
|
|
qint64 poll_check_interval_{ 30000 };
|
||
|
|
quint16 poll_min_conns_{ 2 };
|
||
|
|
quint16 poll_max_conns_{ 7 };
|
||
|
|
qint64 pool_conn_life_period_{ 600000 };
|
||
|
|
|
||
|
|
QString db_type_;
|
||
|
|
QString db_host_;
|
||
|
|
quint16 db_port_;
|
||
|
|
QString db_name_;
|
||
|
|
QString db_user_;
|
||
|
|
QString db_passwd_;
|
||
|
|
}LP_DB_CONFIG_NODE;
|