Skip to content

Commit

Permalink
Send feature requests to JAC (#1964)
Browse files Browse the repository at this point in the history
* Send feature requests to JAC

* [EAZY KARMA] NONE: add some more logging around builds (#1966)

NONE: add some more logging around builds

* [IZI KARMA] NONE: add more safe headers from GitHub (#1959)

NONE: add more safe headers from GitHub

* [EASY KARMA] NONE: log sampled rate limit (#1967)

NONE: log sampled rate limit

* Address comments

---------

Co-authored-by: Ryan Jiang <rjiang2@atlassian.com>
Co-authored-by: bgvozdev <bgvozdev@atlassian.com>
Co-authored-by: Amanda Trigueiro <atrigueiro@atlassian.com>
Co-authored-by: Rachelle Rathbone <rrathbone@atlassian.com>
  • Loading branch information
5 people authored Apr 18, 2023
1 parent 0f3c9dd commit e459448
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 27 deletions.
4 changes: 3 additions & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ contact_links:
- name: Support Requests and Bug Reports
url: https://support.atlassian.com/contact/#/
about: Need some help? Please submit a support request or bug report via Jira Software Support portal

- name: Feature Requests and Product Suggestions
url: https://jira.atlassian.com/secure/Dashboard.jspa
about: Suggest an idea or solution for the Github for Jira app. When creating tickets, please select the project-"Jira Software Cloud" and the component-"Integration - GitHub - Marketplace".
26 changes: 0 additions & 26 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

1 change: 1 addition & 0 deletions src/util/preemptive-rate-limit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export const preemptiveRateLimitCheck = async <T extends BaseMessagePayload>(con

try {
const rateLimitResponse = (await getRateRateLimitStatus(context)).data;

if (Math.random() < 0.05) {
context.log.info({ rateLimitResponse }, "Rate limit check result (sampled)");
}
Expand Down

0 comments on commit e459448

Please sign in to comment.