---
title: >-
  Shopify Function resource limits now scale with cart size - Shopify developer
  changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: >-
    https://shopify.dev/changelog/posts/shopify-function-resource-limits-now-scale-with-cart-size
  md: >-
    https://shopify.dev/changelog/posts/shopify-function-resource-limits-now-scale-with-cart-size.md
metadata:
  effectiveApiVersion: ''
  affectedApi: []
  primaryTag:
    displayName: Platform
    handle: platform
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: false
  createdAt: '2024-10-10T15:07:37-04:00'
  postedAt: '2024-10-10T14:54:00-04:00'
  updatedAt: '2024-10-16T09:18:24-04:00'
  effectiveAt: '2024-10-10T14:54:00-04:00'
---

October 10, 2024

# Shopify Function resource limits now scale with cart size

DateOctober 10, 2024

FlagsUpdate

SurfacesPlatform

Certain Shopify Function resource limits now scale proportionally to the number of line items in the cart. Starting at 200 line items, your Shopify Function runs will be able to use more resources than before.

This change applies to all Shopify Function runs that include cart lines in their input query.

Learn more about dynamic resource limits and how they're calculated for Shopify Functions on [Shopify.dev](https://shopify.dev/docs/api/functions#resource-limits).
