{"title":"Codeunit 30153 Shpfy GraphQL Rate Limit, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/30153-shpfy-graphql-rate-limit/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":30153,"name":"Shpfy GraphQL Rate Limit","app":"Shopify Connector","url":"https://jonas-paprotka.de/ref/codeunit/30153-shpfy-graphql-rate-limit/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/30153-shpfy-graphql-rate-limit/source/","path":"src/Apps/W1/Shopify/App/src/GraphQL/Codeunits/ShpfyGraphQLRateLimit.Codeunit.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"codeunit:30157":{"name":"Shpfy Json Helper","url":"https://jonas-paprotka.de/ref/codeunit/30157-shpfy-json-helper/"},"codeunit:710":{"name":"Math","url":"https://jonas-paprotka.de/ref/codeunit/710-math/"}},"procs":[{"name":"SetQueryCost","line":30,"kind":"procedure","access":"internal","params":1,"steps":[[35,"ext","codeunit",30157,"GetValueAsDecimal",2],[36,"ext","codeunit",30157,"GetValueAsDecimal",2]]},{"name":"WaitForRequestAvailable","line":45,"kind":"procedure","access":"local","params":0,"steps":[[50,"call","GoToSleep",0]]},{"name":"WaitForRequestAvailable","line":57,"kind":"procedure","access":"internal","params":1,"steps":[[64,"call","CalcWaitTime",1]]},{"name":"CalcWaitTime","line":70,"kind":"procedure","access":"local","params":1,"steps":[[78,"call","TryCalcWaitTime",2]]},{"name":"TryCalcWaitTime","line":85,"kind":"procedure","access":"local","params":2,"steps":[[91,"ext","codeunit",710,"Max",2]]},{"name":"GoToSleep","line":96,"kind":"procedure","access":"local","params":0,"steps":[[99,"call","TryGoToSleep",0]]}]}