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 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lingo.cpp') 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}, -- cgit 1.4.1