-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set API request timeout and adjust bot loop interval
Added a timeout of 50 seconds to the API request settings for more reliable connections and to avoid rate limit issues. Also, increased the interval duration in the bot's main loop from 1000ms to 1200ms to optimize performance.
- Loading branch information
1 parent
7163765
commit 6e4e07a
Showing
4 changed files
with
153 additions
and
1 deletion.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,4 @@ dotenv = "0.15" | |
env_logger = "0.11.2" | ||
config = "0.14.0" | ||
url = "2.5.0" | ||
reqwest = "0.11.24" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters