Raised This Month: $ Target: $400
 0% 

[QUESTION] nVault Prune


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Depresie
Veteran Member
Join Date: Nov 2013
Old 11-10-2015 , 06:03   [QUESTION] nVault Prune
Reply With Quote #1

I would like to ask if i use prune on nvault, if i load the data without saving it afterwards, will it be removed from the nvault? also will the prune reset?
Depresie is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 11-10-2015 , 10:45   Re: [QUESTION] nVault Prune
Reply With Quote #2

I don't understand your question
__________________
Bugsy is offline
Depresie
Veteran Member
Join Date: Nov 2013
Old 11-10-2015 , 11:10   Re: [QUESTION] nVault Prune
Reply With Quote #3

I want to save something to nvault and to expire in 48 hours...
But if the data is loaded, i want it to still remain in the vault, without reseting the expiration date
Depresie is offline
xxxperts
Senior Member
Join Date: Oct 2013
Location: India
Old 11-10-2015 , 11:45   Re: [QUESTION] nVault Prune
Reply With Quote #4

Quote:
Originally Posted by Depresie View Post
I want to save something to nvault and to expire in 48 hours...
But if the data is loaded, i want it to still remain in the vault, without reseting the expiration date
prune is not used to remove key. it will only remove the key which are not active or not updated in given time.
__________________
All my work is here
xxxperts is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 11-10-2015 , 11:36   Re: [QUESTION] nVault Prune
Reply With Quote #5

The timestamp gets updated only on set and touch. Reading data does not change timestamp.
__________________
Bugsy is offline
Depresie
Veteran Member
Join Date: Nov 2013
Old 11-10-2015 , 13:30   Re: [QUESTION] nVault Prune
Reply With Quote #6

well, i want to load that key, without activating or updating it in that given time
Depresie is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 11-10-2015 , 18:36   Re: [QUESTION] nVault Prune
Reply With Quote #7

Quote:
Originally Posted by Depresie View Post
well, i want to load that key, without activating or updating it in that given time
If you are only loading the data then you are fine. The timestamp is not modified when reading. Its writing data or nvault_touch() that changes the timestamp.
__________________
Bugsy is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:53.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode