You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a4aecfe
Browse filesBrowse the repository at this point in the historyBrowse files
ref(core): Build the hostname cache from a ticker, not the whole options
HostnameCache reads exactly one collaborator, so it now takes a
MonotonicTicker rather than a SentryOptions it would only call
getMonotonicTicker() on. This follows
RateLimiter.create(MonotonicTicker, RateLimiterConfig), which names the
collaborators a rate limiter actually reads for the same reason; a config
interface is unnecessary here because there is only the one.
Also drops SentryOptions.setHostnameCache(), which had no production caller.
Unlike setDateProvider(), which AndroidOptionsInitializer uses, it was only a
test seam, so MainEventProcessorTest overrides getHostnameCache() instead —
the way CheckInUtilsTest already overrides getMonotonicTicker().
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
0 commit comments