Changing Record's TTL in UDF

Changing record’s TTL in UDF

Unread postby 0belisk » Wed Jul 16, 2014 7:16 am Hi!

Is it possible to set a new ttl value for a record in LUA UDF?

Thanks, Andrew.

The syntax is record.set_ttl(rec, ttl) where ttl is in seconds. Simply apply this function before updating (or creating) the record.

The feature is included as of server release 3.3.12, which is now available.