---
title: Customize queue message retention periods · Changelog
description: Customize the retention period for a queue, from a minimum of 60
  seconds to a maximum of 14 days.
chatbotDeprioritize: true
source_url:
  html: https://developers.cloudflare.com/changelog/2025-02-14-customize-queue-retention-period/
  md: https://developers.cloudflare.com/changelog/2025-02-14-customize-queue-retention-period/index.md
---

# Changelog

New updates and improvements at Cloudflare.

[Subscribe to RSS](https://developers.cloudflare.com/changelog/rss/index.xml)\
[View all RSS feeds](https://developers.cloudflare.com/fundamentals/new-features/available-rss-feeds/)

![hero image](https://developers.cloudflare.com/_astro/hero.CVYJHPAd_ZEA2nF.svg)

[← Back to all posts](https://developers.cloudflare.com/changelog/)

## Customize queue message retention periods

Feb 14, 2025

[Queues](https://developers.cloudflare.com/queues/)

You can now customize a queue's message retention period, from a minimum of 60 seconds to a maximum of 14 days. Previously, it was fixed to the default of 4 days.

![Customize a queue's message retention period](https://developers.cloudflare.com/_astro/customize-retention-period.CpK7s10q_Z13Q6wc.webp)

You can customize the retention period on the settings page for your queue, or using Wrangler:

```bash
$ wrangler queues update my-queue --message-retention-period-secs 600
```

This feature is available on all new and existing queues. If you haven't used Cloudflare Queues before, [get started with the Cloudflare Queues guide](https://developers.cloudflare.com/queues/get-started).
