Clean peers.d periodically and delete peers older than 30 days.
This commit is contained in:
@@ -142,7 +142,7 @@ public:
|
||||
* @param olderThan Last modified older than timestamp (ms since epoch)
|
||||
* @return Number of cleaned files or negative on fatal error
|
||||
*/
|
||||
static long cleanDirectory(const char *path,const uint64_t olderThan);
|
||||
static long cleanDirectory(const char *path,const int64_t olderThan);
|
||||
|
||||
/**
|
||||
* Delete a directory and all its files and subdirectories recursively
|
||||
|
||||
Reference in New Issue
Block a user