dynamic_rate_limiter_impl.go ×1

Frontier kind: Joint frontier

unlabeled · c_d2626622d075

1 test · 102 LOC · 5 files · introduces 1 test · 4 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
1 range4 lines · 1 files
Tests
1 test

Contains — complete concept membership

All code (extent)
26 ranges102 lines · 5 files · Browse complete extent
All tests (intent)
1 testBrowse complete intent

Neighbourhood graph

The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.

Introduced files, introduced tests, and structurally relevant concept specialization

In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.

Introduced files, introduced tests, and structurally relevant concept specializationdynamic_rate_limiter_impl.go ×1 · 3 introduced LOCdynamic_rate_limiter_imp…dynamic_rate_limiter_impl.go ×1 · 3 introduced LOCdynamic_rate_limiter_imp…rate_limiter_impl.go ×1 · 3 introduced LOCrate_limiter_impl.go ×1rate_limiter_impl.go ×1 · 3 introduced LOCrate_limiter_impl.go ×1clocked_rate_limiter.go ×3 · 11 introduced LOCclocked_rate_limiter.go …rate_burst.go ×5 · 19 introduced LOCrate_burst.go ×5rate_limiter_impl.go ×1 · 3 introduced LOCrate_limiter_impl.go ×1dynamic_rate_limiter_impl.go ×2 · 3 introduced LOCdynamic_rate_limiter_imp…rate_limiter_impl.go ×3 · 9 introduced LOCrate_limiter_impl.go ×3dynamic_rate_limiter_impl.go ×1 · 10 introduced LOCdynamic_rate_limiter_imp…rate_limiter_impl.go ×1 · 6 introduced LOCrate_limiter_impl.go ×1rate_limiter_impl.go ×1 · 12 introduced LOCrate_limiter_impl.go ×1time_source.go ×1 · 3 introduced LOCtime_source.go ×1clocked_rate_limiter.go ×1 · 7 introduced LOCclocked_rate_limiter.go …time_source.go ×1 · 3 introduced LOCtime_source.go ×1TestOperatorServiceMetadata, TestWorkflowServiceMetadata · 0 introduced LOCTestOperatorServiceMetad…go.temporal.io/server/common/clock/time_source.go · 56 LOCclock/time_source.gogo.temporal.io/server/common/quotas/clocked_rate_limiter.go · 170 LOCquotas/clocked_rate_limi…go.temporal.io/server/common/quotas/dynamic_rate_limiter_impl.go · 150 LOCquotas/dynamic_rate_limi…go.temporal.io/server/common/quotas/rate_burst.go · 206 LOCquotas/rate_burst.gogo.temporal.io/server/common/quotas/rate_limiter_impl.go · 115 LOCquotas/rate_limiter_impl…TestOperatorServiceMetadata · introduced test · go.temporal.io/server/common/api/TestOperatorServiceMetadataTestOperatorServiceMetad…TestWorkflowServiceMetadata · introduced test · go.temporal.io/server/common/api/TestWorkflowServiceMetadataTestWorkflowServiceMetad…TestNewRealClock_Now · introduced test · go.temporal.io/server/common/clock/TestNewRealClock_NowTestNewRealClock_Nowburst_refreshes_without_token_operation · introduced test · go.temporal.io/server/common/quotas/TestDynamicRateLimiterRateAndBurstRefreshAfterInterval/burst_refreshes_without_token_operationburst_refreshes_without_…Focused concept · dynamic_rate_limiter_impl.go ×1 · 4 introduced LOCdynamic_rate_limiter_imp…

Graph controls are ready.

Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.

Native relationship evidence

Every exact file and test below is linked only from the concept that introduces it.

Introduced tests

Every collected test enters the hierarchy at exactly one concept.

1 test introduced at this concept.

Introduced code

Every collected source range enters the hierarchy at exactly one concept.

1 file ranked by introduced lines: 4 introduced LOC across 1 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/common/quotas/dynamic_rate_limiter_impl.go 4 introduced LOC · 1 range

Open complete file

121
122 // Burst returns the burst for this rate limiter
123 > func (d *DynamicRateLimiterImpl) Burst() int { dynamic_rate_limiter_impl.go
124 > d.maybeRefresh()
125 > return d.rateLimiter.Burst()
126 > }
127
128 func (d *DynamicRateLimiterImpl) Refresh() {