VACCOUNTS_DELAYED_CLEANUP

VACCOUNTS_DELAYED_CLEANUP | code​

1
/**
2
* LiquidAccounts use the VACCOUNTS_DELAYED_CLEANUP time in seconds to prevent data from being committed to IPFS from RAM.
3
*
4
* @param {uint32_t} VACCOUNTS_DELAYED_CLEANUP - time delay in seconds before data is removed from RAM and committed to vRAM (IPFS)
5
*
6
* Notes
7
* - 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.
8
*
9
* Example:
10
*
11
* @code
12
* #define VACCOUNTS_DELAYED_CLEANUP 120
13
* @endcode
14
*/
Copied!
Copy link