CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 22:37:26 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/alibaba/sentinel-golang.git
etag: W/"b7979131521d0aeeee7260b0c6dc098e"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=IduBv68scOidesCM%2FGMrmHKgnK7Mq%2Fv1iKxT0Z1aButmTl1FHsgM2SXxDvLu0%2Fb1muK9q8p2svBU%2FS5LGhI3228H3kPVyIVpPQImIKJAjSchUHwKvo%2F%2FaeM5wTYC%2FCM500fAXJiypL7Sb5XBuk2Uo8YCyqr5Jx%2Bd59sgIev%2FW6tT7xyktnQhtRbFnywsOjIkjEEOuvQzlOAI%2Fagk2xS4StcjxDqZvHIDQCICvBqbc9ZbbnZNMyHej7I%2B2XUQGOIqLkWLqrGn%2Bqj05zmTr3q%2FDg%3D%3D--9h1gadaqa9t%2F8hvB--abBO%2Bi2ICiQMv4OyxfScog%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1181535911.1753655845; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 22:37:25 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 22:37:25 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9136:1C79A4:1204315:17B6EB6:6886AA25
refine circuit breaker State atomic operation (#276) · alibaba/sentinel-golang@2c7107c · GitHub
Copy file name to clipboardExpand all lines: core/circuitbreaker/circuit_breaker.go
Copy file name to clipboardExpand all lines: core/circuitbreaker/circuit_breaker_test.go
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 445
Commit 2c7107c
File tree
Expand file treeCollapse file tree
2 files changed
+24
-32
lines changedFilter options
- core/circuitbreaker
Expand file treeCollapse file tree
2 files changed
+24
-32
lines changedcore/circuitbreaker/circuit_breaker.go
Copy file name to clipboardExpand all lines: core/circuitbreaker/circuit_breaker.go+19-27Lines changed: 19 additions & 27 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 |
| - | |
6 | 5 |
| |
7 | 6 |
| |
8 | 7 |
| |
| |||
33 | 32 |
| |
34 | 33 |
| |
35 | 34 |
| |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
36 | 42 |
| |
37 | 43 |
| |
38 | 44 |
| |
| |||
47 | 53 |
| |
48 | 54 |
| |
49 | 55 |
| |
50 |
| - | |
51 |
| - | |
| 56 | + | |
52 | 57 |
| |
53 | 58 |
| |
54 | 59 |
| |
55 |
| - | |
56 |
| - | |
57 |
| - | |
| 60 | + | |
58 | 61 |
| |
59 | 62 |
| |
60 |
| - | |
61 |
| - | |
62 |
| - | |
63 |
| - | |
64 |
| - | |
| 63 | + | |
| 64 | + | |
65 | 65 |
| |
66 | 66 |
| |
67 | 67 |
| |
| |||
132 | 132 |
| |
133 | 133 |
| |
134 | 134 |
| |
135 |
| - | |
| 135 | + | |
136 | 136 |
| |
137 | 137 |
| |
138 | 138 |
| |
| |||
145 | 145 |
| |
146 | 146 |
| |
147 | 147 |
| |
148 |
| - | |
| 148 | + | |
149 | 149 |
| |
150 | 150 |
| |
151 | 151 |
| |
| |||
158 | 158 |
| |
159 | 159 |
| |
160 | 160 |
| |
161 |
| - | |
| 161 | + | |
162 | 162 |
| |
163 | 163 |
| |
164 | 164 |
| |
| |||
174 | 174 |
| |
175 | 175 |
| |
176 | 176 |
| |
177 |
| - | |
| 177 | + | |
178 | 178 |
| |
179 | 179 |
| |
180 | 180 |
| |
| |||
187 | 187 |
| |
188 | 188 |
| |
189 | 189 |
| |
190 |
| - | |
| 190 | + | |
191 | 191 |
| |
192 | 192 |
| |
193 | 193 |
| |
| |||
206 | 206 |
| |
207 | 207 |
| |
208 | 208 |
| |
209 |
| - | |
210 |
| - | |
211 | 209 |
| |
212 | 210 |
| |
213 | 211 |
| |
214 | 212 |
| |
215 | 213 |
| |
216 |
| - | |
| 214 | + | |
217 | 215 |
| |
218 | 216 |
| |
219 | 217 |
| |
| |||
392 | 390 |
| |
393 | 391 |
| |
394 | 392 |
| |
395 |
| - | |
396 |
| - | |
397 |
| - | |
398 | 393 |
| |
399 | 394 |
| |
400 | 395 |
| |
401 | 396 |
| |
402 | 397 |
| |
403 |
| - | |
| 398 | + | |
404 | 399 |
| |
405 | 400 |
| |
406 | 401 |
| |
| |||
572 | 567 |
| |
573 | 568 |
| |
574 | 569 |
| |
575 |
| - | |
576 |
| - | |
577 |
| - | |
578 | 570 |
| |
579 | 571 |
| |
580 | 572 |
| |
581 | 573 |
| |
582 | 574 |
| |
583 |
| - | |
| 575 | + | |
584 | 576 |
| |
585 | 577 |
| |
586 | 578 |
| |
|
core/circuitbreaker/circuit_breaker_test.go
Copy file name to clipboardExpand all lines: core/circuitbreaker/circuit_breaker_test.go+5-5Lines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
64 | 64 |
| |
65 | 65 |
| |
66 | 66 |
| |
67 |
| - | |
| 67 | + | |
68 | 68 |
| |
69 | 69 |
| |
70 | 70 |
| |
71 | 71 |
| |
72 | 72 |
| |
73 | 73 |
| |
74 | 74 |
| |
75 |
| - | |
| 75 | + | |
76 | 76 |
| |
77 | 77 |
| |
78 |
| - | |
79 |
| - | |
| 78 | + | |
| 79 | + | |
80 | 80 |
| |
81 |
| - | |
| 81 | + | |
82 | 82 |
| |
83 | 83 |
| |
84 | 84 |
| |
|
You can’t perform that action at this time.
0 commit comments