reject IPs from statistics feature and top lists size as parameter

This commit is contained in:
acetone
2022-11-21 10:17:45 +03:00
parent 2e39d2f29f
commit a01bbaf540
6 changed files with 78 additions and 23 deletions
+1 -1
View File
@@ -33,7 +33,6 @@ namespace c {
const QString SOFTWARE_NAME = "3proxy-eagle";
const QString SOFTWARE_VERSION = "0.0.1a";
const QString COPYRIGHT = "GPLv3 (c) acetone, 2022";
const int LAST_AND_TOP_LIST_SIZE = 10;
const qint64 DB_DAILY_TOP_TABLE_ACTUALIZE_MINIMAL_INTERVAL_MS = 300000; // 5 min
const qint64 CACHE_ACTUALIZE_TOP_LISTS_FROM_DB_MINIMAL_INTERVAL_MS = 5000; // 5 sec
const QString HA_PAGE_TITLE = "{{PAGE_TITLE}}";
@@ -60,6 +59,7 @@ namespace p {
QString SERVICE_TITLE = "3proxy-eagle";
QString BIND_TO_ADDRESS = "127.0.0.1";
quint16 BIND_TO_PORT = 8161;
bool IGNORE_IP_ADDRS_IN_STATISTCS = false;
} // namespace p
std::list< std::pair<QThread*, ProxyInstanse*> > instanses;