Skip to content

Instantly share code, notes, and snippets.

@yayanet
yayanet / sentry-clean-debug-information-files.js
Last active February 15, 2023 11:33 — forked from yeleleo/sentry-clean-debug-information-files.js
Sentry Cleanup: Debug Information Files
const axios = require('axios')
const http = require('http')
const LinkHeader = require('http-link-header')
const MAX_REQUESTS_COUNT = 20
const INTERVAL_MS = 10
let PENDING_REQUESTS = 0
const nextPage = (header) => {