From b85bd4ccaa663afa3e9805c7c33efae6b8b9f84c Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Thu, 16 Feb 2023 22:39:42 -0500 Subject: Long queries time out after two minutes now fixes #7 --- lingo.cpp | 4 +++- vendor/verbly | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lingo.cpp b/lingo.cpp index 137d6e7..64c97ac 100644 --- a/lingo.cpp +++ b/lingo.cpp @@ -430,6 +430,8 @@ public: dpp::snowflake channel(config["discord_channel"].as()); database_ = std::make_unique(config["verbly_datafile"].as()); + database_->setTimeout(60 * 2); + imagenet_ = std::make_unique(config["imagenet"].as()); wanderlust_ = std::make_unique(config["wanderlust"].as()); fontpath_ = config["font"].as(); @@ -521,7 +523,7 @@ private: {kTop, kRed}, {kTop, kBlue}, {kTop, kBlack}, - //{kTop, kYellow}, + {kTop, kYellow}, {kMiddle, kYellow}, {kMiddle, kRed}, {kMiddle, kBlue}, diff --git a/vendor/verbly b/vendor/verbly index e5d8d42..c66c279 160000 --- a/vendor/verbly +++ b/vendor/verbly @@ -1 +1 @@ -Subproject commit e5d8d42eae6ce486678d87e33c1a7c26e2a6c1a1 +Subproject commit c66c279fb65328c5a5f5d8ca6e0df035fc5c5555 -- cgit 1.4.1