L
L
LiquidApps Documentation
Search…
⌃K

VACCOUNTS_DELAYED_CLEANUP

VACCOUNTS_DELAYED_CLEANUP | code​

/**
* LiquidAccounts use the VACCOUNTS_DELAYED_CLEANUP time in seconds to prevent data from being committed to IPFS from RAM.
*
* @param {uint32_t} VACCOUNTS_DELAYED_CLEANUP - time delay in seconds before data is removed from RAM and committed to vRAM (IPFS)
*
* Notes
* - VACCOUNTS_DELAYED_CLEANUP is intended to allow DAPPs to operate in a session based way. Data persists to RAM for the time specified to avoid the warmup process associated with vRAM data. After the user has become inactive, the data is committed.
*
* Example:
*
* @code
* #define VACCOUNTS_DELAYED_CLEANUP 120
* @endcode
*/