dynamic_rate_limiter_impl.go ×1

Frontier kind: Code frontier

unlabeled · c_48c197b4316a

14 tests · 45 LOC · 4 files · introduces 0 tests · 4 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
1 range4 lines · 1 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
8 ranges45 lines · 4 files · Browse complete extent
All tests (intent)
14 testsBrowse 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 specializationHistory_succeeds_but_visibility_fails, Visibility_succeeds_but_history_fails · 0 introduced LOCHistory_succeeds_but_vis…Search_attribute_with_no_embedded_type_information · 0 introduced LOCSearch_attribute_with_no…archiver.go ×1 · 2 introduced LOCarchiver.go ×1Both_targets_succeed · 0 introduced LOCBoth_targets_succeedHistory_archival_fails · 0 introduced LOCHistory_archival_failsVisibility_archival_succeeds · 0 introduced LOCVisibility_archival_succ…archiver.go ×1 · 2 introduced LOCarchiver.go ×1stringify.go ×1 · 2 introduced LOCstringify.go ×1archiver.go ×1 · 2 introduced LOCarchiver.go ×1interface_mock.go ×3 · 30 introduced LOCinterface_mock.go ×3interface_mock.go ×3 · 39 introduced LOCinterface_mock.go ×3archiver.go ×1 · 2 introduced LOCarchiver.go ×1archiver.go ×1 · 4 introduced LOCarchiver.go ×1archiver.go ×3 · 17 introduced LOCarchiver.go ×3archiver.go ×2 · 11 introduced LOCarchiver.go ×2archiver.go ×1 · 2 introduced LOCarchiver.go ×1archiver.go ×2 · 7 introduced LOCarchiver.go ×2archiver.go ×2 · 6 introduced LOCarchiver.go ×2archiver.go ×1 · 3 introduced LOCarchiver.go ×1archiver.go ×1 · 5 introduced LOCarchiver.go ×1archiver.go ×1 · 5 introduced LOCarchiver.go ×1archiver.go ×3 · 33 introduced LOCarchiver.go ×3rate_refreshes_without_token_operation · 0 introduced LOCrate_refreshes_without_t…dynamic_rate_limiter_impl.go ×2 · 3 introduced LOCdynamic_rate_limiter_imp…dynamic_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 ×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/archiver/interface_mock.go · 163 LOCarchiver/interface_mock.…go.temporal.io/server/common/clock/time_source.go · 56 LOCclock/time_source.gogo.temporal.io/server/common/log/tag/tags.go · 1039 LOCtag/tags.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_limiter_impl.go · 115 LOCquotas/rate_limiter_impl…go.temporal.io/server/common/quotas/rate_limiter_mock.go · 180 LOCquotas/rate_limiter_mock…go.temporal.io/server/common/searchattribute/stringify.go · 210 LOCsearchattribute/stringif…go.temporal.io/server/service/history/archival/archiver.go · 269 LOCarchival/archiver.goTestOperatorServiceMetadata · introduced test · go.temporal.io/server/common/api/TestOperatorServiceMetadataTestOperatorServiceMetad…TestWorkflowServiceMetadata · introduced test · go.temporal.io/server/common/api/TestWorkflowServiceMetadataTestWorkflowServiceMetad…rate_refreshes_without_token_operation · introduced test · go.temporal.io/server/common/quotas/TestDynamicRateLimiterRateAndBurstRefreshAfterInterval/rate_refreshes_without_token_operationrate_refreshes_without_t…Both_targets_succeed · introduced test · go.temporal.io/server/service/history/archival/TestArchiver/Both_targets_succeedBoth_targets_succeedError_getting_name_type_map_from_search_attribute_provider · introduced test · go.temporal.io/server/service/history/archival/TestArchiver/Error_getting_name_type_map_from_search_attribute_providerError_getting_name_type_…History_archival_fails · introduced test · go.temporal.io/server/service/history/archival/TestArchiver/History_archival_failsHistory_archival_failsHistory_archival_succeeds · introduced test · go.temporal.io/server/service/history/archival/TestArchiver/History_archival_succeedsHistory_archival_succeed…History_succeeds_but_visibility_fails · introduced test · go.temporal.io/server/service/history/archival/TestArchiver/History_succeeds_but_visibility_failsHistory_succeeds_but_vis…Invalid_target · introduced test · go.temporal.io/server/service/history/archival/TestArchiver/Invalid_targetInvalid_targetNo_targets · introduced test · go.temporal.io/server/service/history/archival/TestArchiver/No_targetsNo_targetsRate_limit_hit · introduced test · go.temporal.io/server/service/history/archival/TestArchiver/Rate_limit_hitRate_limit_hitSearch_attribute_missing_in_type_map · introduced test · go.temporal.io/server/service/history/archival/TestArchiver/Search_attribute_missing_in_type_mapSearch_attribute_missing…Search_attribute_with_no_embedded_type_information · introduced test · go.temporal.io/server/service/history/archival/TestArchiver/Search_attribute_with_no_embedded_type_informationSearch_attribute_with_no…Visibility_archival_succeeds · introduced test · go.temporal.io/server/service/history/archival/TestArchiver/Visibility_archival_succeedsVisibility_archival_succ…Visibility_archival_succeeds_with_nil_HistoryURI · introduced test · go.temporal.io/server/service/history/archival/TestArchiver/Visibility_archival_succeeds_with_nil_HistoryURIVisibility_archival_succ…Visibility_succeeds_but_history_fails · introduced test · go.temporal.io/server/service/history/archival/TestArchiver/Visibility_succeeds_but_history_failsVisibility_succeeds_but_…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.

No tests are introduced at this concept. Its intent tests are introduced by other concepts.

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

115
116 // Rate returns the rate per second for this rate limiter
117 > func (d *DynamicRateLimiterImpl) Rate() float64 { dynamic_rate_limiter_impl.go
118 > d.maybeRefresh()
119 > return d.rateLimiter.Rate()
120 > }
121
122 // Burst returns the burst for this rate limiter