Fix connection issues and add enhancement to the Dashboard (#130)
* Fix connection errors when doing DNS lookup * Fix connection handling when an error occurs * Add remote logging feature * Add algo variant to dashboard
This commit is contained in:
parent
872fce72b5
commit
b379f21cb3
20 changed files with 377 additions and 62 deletions
|
@ -72,6 +72,7 @@ public:
|
|||
inline bool syslog() const { return m_syslog; }
|
||||
inline bool daemonized() const { return m_daemonized; }
|
||||
inline bool ccUseTls() const { return m_ccUseTls; }
|
||||
inline bool ccUseRemoteLogging() const { return m_ccUseRemoteLogging; }
|
||||
inline const char *configFile() const { return m_configFile; }
|
||||
inline const char *apiToken() const { return m_apiToken; }
|
||||
inline const char *apiWorkerId() const { return m_apiWorkerId; }
|
||||
|
@ -100,6 +101,7 @@ public:
|
|||
inline size_t threads() const { return m_threads; }
|
||||
inline int ccUpdateInterval() const { return m_ccUpdateInterval; }
|
||||
inline int ccPort() const { return m_ccPort; }
|
||||
inline size_t ccRemoteLoggingMaxRows() const { return m_ccRemoteLoggingMaxRows; }
|
||||
inline int64_t affinity() const { return m_affinity; }
|
||||
inline int64_t multiHashThreadMask() const { return m_multiHashThreadMask; }
|
||||
inline void setColors(bool colors) { m_colors = colors; }
|
||||
|
@ -144,6 +146,7 @@ private:
|
|||
bool m_syslog;
|
||||
bool m_daemonized;
|
||||
bool m_ccUseTls;
|
||||
bool m_ccUseRemoteLogging;
|
||||
const char* m_configFile;
|
||||
char *m_apiToken;
|
||||
char *m_apiWorkerId;
|
||||
|
@ -173,6 +176,7 @@ private:
|
|||
size_t m_threads;
|
||||
int m_ccUpdateInterval;
|
||||
int m_ccPort;
|
||||
size_t m_ccRemoteLoggingMaxRows;
|
||||
int64_t m_affinity;
|
||||
int64_t m_multiHashThreadMask;
|
||||
std::vector<Url*> m_pools;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue