mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-08-23 17:37:25 +00:00
wallet: add a 10mn meta refresh to prevent ajax graph leaks
This commit is contained in:
parent
066da4d8e1
commit
87f89c9a4f
1 changed files with 3 additions and 0 deletions
|
@ -8,6 +8,9 @@ if (!$coin) {
|
|||
|
||||
$this->pageTitle = 'Wallet - '.$coin->symbol;
|
||||
|
||||
// force a refresh after 10mn to prevent memory leaks in chrome
|
||||
app()->clientScript->registerMetaTag('600', null, 'refresh');
|
||||
|
||||
if (!empty($coin->algo) && $coin->algo != 'PoS')
|
||||
user()->setState('yaamp-algo', $coin->algo);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue