# Is there a timeout for note data retention inside the NoteCard?

**URL:** <https://discuss.blues.com/t/is-there-a-timeout-for-note-data-retention-inside-the-notecard/2803>\
**Category:** Firmware\
**Created:** [February 4, 2025, 1:33pm UTC](https://discuss.blues.com/t/is-there-a-timeout-for-note-data-retention-inside-the-notecard/2803 "2025-02-04T13:33:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwsong](https://avatars.discourse-cdn.com/v4/letter/j/ed8c4c/32.png) [@jwsong](https://discuss.blues.com/u/jwsong)\
**Post date:** [February 4, 2025, 1:33pm UTC](https://discuss.blues.com/t/is-there-a-timeout-for-note-data-retention-inside-the-notecard/2803/1 "2025-02-04T13:33:56Z")

</div>

I have a question about NoteCard notes data retention.

If the host CPU issues a note while the NoteCard is not connected to an LTE tower, it will be stored in the internal flash memory, correct?  
If so, will it remain in the internal flash until it is successfully delivered to Notehub?  
Is there any time limit for data retention?

Thank you

---

<div class="post-metadata">

**Author:** ![RobLauer](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.blues.com/roblauer/32/1567_2.png) [@RobLauer](https://discuss.blues.com/u/RobLauer)\
**Post date:** [February 4, 2025, 4:35pm UTC](https://discuss.blues.com/t/is-there-a-timeout-for-note-data-retention-inside-the-notecard/2803/2 "2025-02-04T16:35:22Z")

</div>

Hi @jwsong,

That is correct - there is ample flash memory on the Notecard to store Notes that are pending syncing with Notehub. Those will remain in flash in perpetuity (until they successfully sync or you reset the Notecard with a card.restore command for instance).

Rob

---

<div class="post-metadata">

**Author:** ![devElert](https://avatars.discourse-cdn.com/v4/letter/d/8e8cbc/32.png) [@devElert](https://discuss.blues.com/u/devElert)\
**Post date:** [February 4, 2025, 7:18pm UTC](https://discuss.blues.com/t/is-there-a-timeout-for-note-data-retention-inside-the-notecard/2803/3 "2025-02-04T19:18:55Z")

</div>

It would be useful to have a time-to-live (TTL) value added with each note so that these can be automatically purged by Notecard when they expire.

In the absence of a TTL, we are using the `live` flag on `note.add` which tells Notecard not to store the note in flash. We are using this for realtime data that doesn’t have much relevance if it’s not immediately delivered, but ideally a TTL of 5 minutes or so would be preferable.
