Skip to content

Commit

Permalink
Reverted some debugging stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
Grandro committed May 1, 2024
1 parent 835df9d commit d3b069d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/qlever-petrimaps/PetriMapsMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ int main(int argc, char** argv) {
int cacheLifetime = 6 * 60;
double maxMemoryGB =
(sysconf(_SC_PHYS_PAGES) * sysconf(_SC_PAGE_SIZE) * 0.9) / 1000000000;
std::string cacheDir = "Cache";
std::string cacheDir;

for (int i = 1; i < argc; i++) {
std::string cur = argv[i];
Expand Down
2 changes: 0 additions & 2 deletions src/qlever-petrimaps/server/Server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1198,8 +1198,6 @@ double Server::getLoadStatusPercent() const {
}

double percent = _curRow / static_cast<double>(_totalSize) * 100.0;
LOG(INFO) << "[SERVER] _curRow:\n" << _curRow;
LOG(INFO) << "[SERVER] _totalSize:\n" << _totalSize;
assert(percent <= 100.0);

return percent;
Expand Down

0 comments on commit d3b069d

Please sign in to comment.