mirror of https://github.com/python/cpython
gh-106217: Truncate the issue body size of `new-bugs-announce-notifier` (#106423)
This commit is contained in:
parent
2dfc7fae78
commit
c5dacc8fa0
|
@ -44,7 +44,7 @@ jobs:
|
|||
// We need to truncate the body size, because the max size for
|
||||
// the whole payload is 16kb. We want to be safe and assume that
|
||||
// body can take up to ~8kb of space.
|
||||
body : issue.data.body.substring(8000)
|
||||
body : issue.data.body.substring(0, 8000)
|
||||
};
|
||||
|
||||
const data = {
|
||||
|
|
Loading…
Reference in New Issue