mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-08-23 17:37:25 +00:00
backend: drop old blocks from the db after 60 days
This commit is contained in:
parent
3737f97a60
commit
bc7c183114
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ function BackendCleanDatabase()
|
|||
marketHistoryPrune();
|
||||
|
||||
$delay = time() - 60*24*60*60;
|
||||
// dborun("delete from blocks where time<$delay");
|
||||
dborun("DELETE from blocks where time<$delay");
|
||||
dborun("delete from hashstats where time<$delay");
|
||||
dborun("delete from payouts where time<$delay");
|
||||
dborun("delete from rentertxs where time<$delay");
|
||||
|
|
Loading…
Add table
Reference in a new issue