-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle poll interval and API token better
- Token expires every hour, so a new token needs to be fetched every time, rather than just being able to get one at object initialization. - The "stalledDiscussionPollTimeMins" property set in the bf2-arch-bot.yml seemingly can't be used in the @scheduled annotation, since it's not available early enough.
- Loading branch information
Showing
4 changed files
with
15 additions
and
7 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -1 +1,4 @@ | ||
quarkus.log.level=DEBUG | ||
quarkus.log.level=DEBUG | ||
bot.enable.stalled-discussion=true | ||
bot.enable.create-draft=true | ||
BOT_STALLED_DISCUSSION_FLOW_POLL_DURATION=86400s |
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