getsentry / sentry-docs

Sentry's documentation (and tools to build it)
https://docs.sentry.io
Other
323 stars 1.38k forks source link

Are the `maxQueueAgeDays ` and `maxQueueCount ` two fields still valid in the latest version in @sentry/electron #10570

Open CurryYangxx opened 3 days ago

CurryYangxx commented 3 days ago

Core or SDK?

Platform/SDK

Which part? Which one?

@sentry/electron 5.1.0 Offline Support

Description

/* The maximum number of days to keep an event in the queue. */
maxQueueAgeDays: 30,
/* The maximum number of events to keep in the queue. */
maxQueueCount: 30,

I find in this file, the newest key is maxAgeDays and maxQueueSize https://github.com/getsentry/sentry-electron/blob/eeef359b489196fa36dec804124d3404477a8177/src/main/transports/offline-store.ts#L24

Suggested Solution

If the key has been modified, we need to update the demo in the doc

getsantry[bot] commented 3 days ago

Assigning to @getsentry/support for routing ⏲️