Files
teleport/lib/backend
rosstimothy 6bdec42b8e Fix resources being deleted from Firestore on update (#30272)
The change to use `Update` in #28473 caused a 0 value to be written
to the expires field of the document. When using `Create` or `Set`
a zero expiry value would result in an empty expires field for that
document. Now that the expires column was containing a 0 value the
purgeExpiredDocuments loop was detecting the document as needing
to be removed. To prevent removing resources that have no expiry
the purge loop now explicitly ignores any resources that have a 0
expiry value.

Fixes #30236
2023-08-10 16:44:07 +00:00
..
2023-07-23 02:59:54 +00:00
2023-08-04 21:36:33 +00:00
2023-02-07 09:01:35 +00:00
2022-10-28 20:20:28 +00:00
2023-07-23 02:59:54 +00:00
2022-09-19 22:38:59 +00:00