Init logging with yeclite
This commit is contained in:
@@ -169,6 +169,8 @@ void Controller::getInfoThenRefresh(bool force) {
|
||||
bool doUpdate = force || (model->getLatestBlock() != curBlock);
|
||||
model->setLatestBlock(curBlock);
|
||||
|
||||
main->logger->write(QString("Refresh. curblock ") % QString::number(curBlock) % ", update=" % (doUpdate ? "true" : "false") );
|
||||
|
||||
// Connected, so display checkmark.
|
||||
auto tooltip = Settings::getInstance()->getSettings().server + "\n" +
|
||||
QString::fromStdString(zrpc->getConnection()->getInfo().dump());
|
||||
|
||||
@@ -99,7 +99,7 @@ public:
|
||||
|
||||
static const QString labelRegExp;
|
||||
|
||||
static const int updateSpeed = 60 * 1000; // 60 sec
|
||||
static const int updateSpeed = 30 * 1000; // 30 sec
|
||||
static const int priceRefreshSpeed = 60 * 60 * 1000; // 1 hr
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user