Redis键管理PERSISTOn this pagePERSISTNoteOfficial reference: PERSIST. Remove a key's expiration. Syntax PERSIST key Results ReturnRowsContentUpdate count--1 when the key's expiry is removed; 0 when the key does not exist or has no expiry Example SET demo:message hello EX 60PERSIST demo:message