1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6873],{3415:(e,t,r)=>{"use strict";r.d(t,{n:()=>s});var a=r(21188);function s(){return a.i.admin.getDefaultOrganizationConfigs.useQuery({body:{_dummy:""}})}},62459:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});var a=r(23798),s=r(64407);r(21462);var o=r(12131);function n(){return(0,a.jsx)("div",{className:(0,o.AH)({w:"full"}),children:(0,a.jsx)(s.E,{className:(0,o.AH)({height:"[150px]",w:"full",my:"[2px]"})})})}},66365:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/docs/admin/SystemLimitsTable",function(){return r(78475)}])},69016:(e,t,r)=>{"use strict";function a(e){switch(e){case"ComputeUnits":return"Compute Units";case"RequestCount":return"Request Count";case"RequestSize":return"Request Size";case"ResponseSize":return"Response Size";default:return e}}function s(e){return"RequestSize"===e||"ResponseSize"===e}function o(e){let t=["bytes","KiB","MiB","GiB","TiB"],r=0,a=e;for(;a>=1024&&r<t.length-1;)a/=1024,r++;let s=a%1==0?a.toLocaleString():a.toLocaleString(void 0,{maximumFractionDigits:1});return"".concat(s," ").concat(t[r])}function n(e){return o(1024*e*1024)}function l(e){return"AllRequests"===e?"All requests":"UpstreamTypeDefault"===e?"Default per upstream":"NodeOperationIdDefault"===e?"Default per node operation":"GraphqlTableDefault"===e?"Default per GraphQL table":"object"==typeof e&&"UpstreamType"in e?"Upstream: ".concat(e.UpstreamType):"object"==typeof e&&"NodeOperationId"in e?"Node operation: ".concat(e.NodeOperationId):"object"==typeof e&&"GraphqlTable"in e?"GraphQL table: ".concat(e.GraphqlTable):"object"==typeof e&&"DecibelHttpPath"in e?"Decibel HTTP path: ".concat(e.DecibelHttpPath):"Unknown scope"}function i(e){if(e<60)return"".concat(e,"s");if(e<3600){let t=Math.floor(e/60),r=e%60;return r>0?"".concat(t,"m ").concat(r,"s"):"".concat(t,"m")}let t=Math.floor(e/3600),r=Math.floor(e%3600/60),a=e%60,s="".concat(t,"h");return r>0&&(s+=" ".concat(r,"m")),a>0&&(s+=" ".concat(a,"s")),s}function c(e){var t;let{scopeType:r,scopeValue:a}="AllRequests"===(t=e.scope)?{scopeType:"AllRequests",scopeValue:null}:"UpstreamTypeDefault"===t?{scopeType:"UpstreamTypeDefault",scopeValue:null}:"NodeOperationIdDefault"===t?{scopeType:"NodeOperationIdDefault",scopeValue:null}:"GraphqlTableDefault"===t?{scopeType:"GraphqlTableDefault",scopeValue:null}:"object"==typeof t&&"UpstreamType"in t?{scopeType:"UpstreamType",scopeValue:t.UpstreamType}:"object"==typeof t&&"NodeOperationId"in t?{scopeType:"NodeOperationId",scopeValue:t.NodeOperationId}:"object"==typeof t&&"GraphqlTable"in t?{scopeType:"GraphqlTable",scopeValue:t.GraphqlTable}:"object"==typeof t&&"DecibelHttpPath"in t?{scopeType:"DecibelHttpPath",scopeValue:t.DecibelHttpPath}:{scopeType:"AllRequests",scopeValue:null};return"".concat(e.appliesTo,"-").concat(e.limitUnit,"-").concat(e.windowSeconds,"-").concat(r).concat(a?"-".concat(a):"")}function p(e,t){switch(e){case"AllRequests":default:return"AllRequests";case"UpstreamTypeDefault":return"UpstreamTypeDefault";case"UpstreamType":return{UpstreamType:t};case"NodeOperationIdDefault":return"NodeOperationIdDefault";case"NodeOperationId":if(!t)throw Error("Scope value is required for NodeOperationId scope type");return{NodeOperationId:t};case"GraphqlTableDefault":return"GraphqlTableDefault";case"GraphqlTable":if(!t)throw Error("Scope value is required for GraphqlTable scope type");return{GraphqlTable:t};case"DecibelHttpPath":if(!t)throw Error("Scope value is required for DecibelHttpPath scope type");return{DecibelHttpPath:t}}}r.d(t,{LU:()=>c,Pk:()=>l,UK:()=>i,_C:()=>n,gD:()=>s,j9:()=>p,z3:()=>o,zO:()=>a})},71268:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});var a=r(23798),s=r(64927);r(21462);var o=r(75828);function n(e){let{error:t,fallbackMessage:r,heading:n="Error loading data"}=e;return(0,a.jsx)(s.F,{heading:n,variant:"error",children:(0,o.g)(t,r)})}},78475:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>h});var a=r(23798),s=r(71602),o=r(41008),n=r(59354),l=r(68006),i=r(12131),c=r(85096),p=r(69016),u=r(3415),d=r(71268),f=r(62459);function h(){let{data:e,isLoading:t,error:r}=(0,u.n)();if(r)return(0,a.jsx)(d.default,{error:r,fallbackMessage:"Unknown error loading system limits",heading:"Error loading system limits"});if(t)return(0,a.jsx)(f.default,{});if(!e)return(0,a.jsx)(d.default,{error:r,fallbackMessage:"Unknown error loading system limits, data missing.",heading:"Error loading system limits"});let l=e.find(e=>"NoSubscription"===e.appliesTo),i=e.find(e=>"HasSubscription"===e.appliesTo);return void 0===l||void 0===i?(0,a.jsx)(d.default,{error:r,fallbackMessage:"Unknown error loading system limits, billing configs missing.",heading:"Error loading system limits"}
1):(0,a.jsx)("div",{className:(0,c.t$)({gap:"24"}),children:(0,a.jsx)("div",{children:(0,a.jsxs)(s.X,{children:[(0,a.jsx)("br",{}),(0,a.jsx)("thead",{children:(0,a.jsxs)(o.Tr,{children:[(0,a.jsx)(n.Th,{children:"Payment Method Attached"}),(0,a.jsx)(n.Th,{children:"Concurrent Streams"}),(0,a.jsx)(n.Th,{children:"Number of processors"}),(0,a.jsx)(n.Th,{children:"DB size per processor"}),(0,a.jsx)(n.Th,{children:"Writes per processor per 5 mins"})]})}),(0,a.jsx)("tbody",{children:[l,i].map(e=>(0,a.jsx)(m,{config:e},e.appliesTo))})]})})})}function m(e){let{config:t}=e;return(0,a.jsxs)(o.Tr,{children:[(0,a.jsx)(l.Td,{children:"NoSubscription"===t.appliesTo?"No":"Yes"}),(0,a.jsx)(l.Td,{className:(0,i.AH)({textStyle:"mono.md"}),children:t.concurrentStreams.toLocaleString()}),(0,a.jsx)(l.Td,{className:(0,i.AH)({textStyle:"mono.md"}),children:t.shepherdNumberOfProcessors.toLocaleString()}),(0,a.jsx)(l.Td,{className:(0,i.AH)({textStyle:"mono.md"}),children:(0,p._C)(t.shepherdDbSizeMebibytesPerProcessor)}),(0,a.jsx)(l.Td,{className:(0,i.AH)({textStyle:"mono.md"}),children:(0,p._C)(t.shepherdWriteMebibytesPerProcessor)})]})}}},e=>{e.O(0,[1074,636,6593,8792],()=>e(e.s=66365)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.